website/docs: fix Nginx redirection example (#12561)
Fix Nginx redirection Signed-off-by: DanteMS <DanteMS@users.noreply.github.com>
This commit is contained in:
@ -66,7 +66,7 @@ location /outpost.goauthentik.io {
|
||||
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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user