From a1a6256f91afa617f2156fc871358641bfa2e2ae Mon Sep 17 00:00:00 2001 From: DanteMS Date: Sun, 2 Feb 2025 21:19:42 +0800 Subject: [PATCH] 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 891d9578c886..3e1cc87fe66d 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; }