diff --git a/salt/common/nginx/nginx.conf.so-eval b/salt/common/nginx/nginx.conf.so-eval index 254f9834c..e2615808f 100644 --- a/salt/common/nginx/nginx.conf.so-eval +++ b/salt/common/nginx/nginx.conf.so-eval @@ -295,7 +295,7 @@ http { error_page 401 = @error401; location @error401 { - add_header Set-Cookie "AUTH_REDIRECT=$request_uri;Max-Age=14400"; + add_header Set-Cookie "AUTH_REDIRECT=$request_uri;Path=/;Max-Age=14400"; return 302 /auth/self-service/browser/flows/login; }