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; }