diff --git a/website/src/content/docs/guides/ingress/nginx.md b/website/src/content/docs/guides/ingress/nginx.md index 97b501fba8f..bbe834028af 100644 --- a/website/src/content/docs/guides/ingress/nginx.md +++ b/website/src/content/docs/guides/ingress/nginx.md @@ -3,4 +3,31 @@ title: NGINX --- -TBD +## Annotations Examples + +Here we will showcase some annotations you can use to customise your NGINX ingress behavior + +### Auth + +For Authelia, Authentik and more + +``` +annotations: + nginx.ingress.kubernetes.io/auth-method: 'GET' + nginx.ingress.kubernetes.io/auth-url: 'http://authelia.default.svc.cluster.local/api/authz/auth-request' + nginx.ingress.kubernetes.io/auth-signin: 'https://auth.example.com?rm=$request_method' + nginx.ingress.kubernetes.io/auth-response-headers: 'Remote-User,Remote-Name,Remote-Groups,Remote-Email' +``` + +### Themepark + +``` +annotations: + nginx.ingress.kubernetes.io/configuration-snippet: | + proxy_set_header Accept-Encoding ""; + sub_filter + '' + ' + '; + sub_filter_once on; +```