From cdc0d0a857ae620a86f03c61be29f5208c2bab71 Mon Sep 17 00:00:00 2001 From: DanteMS Date: Wed, 12 Feb 2025 21:11:01 +0800 Subject: [PATCH] website/docs: fix Nginx redirection example (#12920) Fix Nginx redirection --- .../docs/add-secure-apps/providers/proxy/_nginx_standalone.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/docs/add-secure-apps/providers/proxy/_nginx_standalone.md b/website/docs/add-secure-apps/providers/proxy/_nginx_standalone.md index 891d9578c8..3e1cc87fe6 100644 --- a/website/docs/add-secure-apps/providers/proxy/_nginx_standalone.md +++ b/website/docs/add-secure-apps/providers/proxy/_nginx_standalone.md @@ -79,7 +79,7 @@ server { location @goauthentik_proxy_signin { internal; add_header Set-Cookie $auth_cookie; - return 302 /outpost.goauthentik.io/start?rd=$request_uri; + return 302 /outpost.goauthentik.io/start?rd=$scheme://$http_host$request_uri; # For domain level, use the below error_page to redirect to your authentik server with the full redirect path # return 302 https://authentik.company/outpost.goauthentik.io/start?rd=$scheme://$http_host$request_uri; }