diff --git a/src/nginxconfig.ejs b/src/nginxconfig.ejs index 6971cd064..4b1f05971 100644 --- a/src/nginxconfig.ejs +++ b/src/nginxconfig.ejs @@ -320,7 +320,8 @@ server { if ($http_user_agent ~* "container") { return 401; } - return 302 "/login"; + + return 302 /login?redirect=$request_uri; } location <%= proxyAuth.location %> {