From 3259908ee41714a9242dd295bb972d80a4086592 Mon Sep 17 00:00:00 2001 From: "Jens L." Date: Thu, 15 Aug 2024 19:21:51 +0200 Subject: [PATCH] website/docs: fix missing optional Authorization headers (#10932) Signed-off-by: Jens Langhammer --- website/docs/providers/proxy/_nginx_proxy_manager.md | 5 +++++ website/docs/providers/proxy/_nginx_standalone.md | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/website/docs/providers/proxy/_nginx_proxy_manager.md b/website/docs/providers/proxy/_nginx_proxy_manager.md index a4f689ab1d..53c001ef05 100644 --- a/website/docs/providers/proxy/_nginx_proxy_manager.md +++ b/website/docs/providers/proxy/_nginx_proxy_manager.md @@ -44,6 +44,11 @@ location / { proxy_set_header X-authentik-email $authentik_email; proxy_set_header X-authentik-name $authentik_name; proxy_set_header X-authentik-uid $authentik_uid; + + # This section should be uncommented when the "Send HTTP Basic authentication" option + # is enabled in the proxy provider + # auth_request_set $authentik_auth $upstream_http_authorization; + # proxy_set_header Authorization $authentik_auth; } # all requests to /outpost.goauthentik.io must be accessible without authentication diff --git a/website/docs/providers/proxy/_nginx_standalone.md b/website/docs/providers/proxy/_nginx_standalone.md index 338a84b8ff..3519f4a4c2 100644 --- a/website/docs/providers/proxy/_nginx_standalone.md +++ b/website/docs/providers/proxy/_nginx_standalone.md @@ -48,6 +48,11 @@ server { proxy_set_header X-authentik-email $authentik_email; proxy_set_header X-authentik-name $authentik_name; proxy_set_header X-authentik-uid $authentik_uid; + + # This section should be uncommented when the "Send HTTP Basic authentication" option + # is enabled in the proxy provider + # auth_request_set $authentik_auth $upstream_http_authorization; + # proxy_set_header Authorization $authentik_auth; } # all requests to /outpost.goauthentik.io must be accessible without authentication