Commit 04361468 authored by Sigmund Augdal's avatar Sigmund Augdal

Don't use a permanent redirect to redirect to login

parent 48537788
Pipeline #1619 passed with stage
in 46 seconds
......@@ -13,10 +13,10 @@ server {
}
location /logout {
return 301 https://${auth_server}/sp/logout/?ReturnTo=https://${server_name}/;
return 303 https://${auth_server}/sp/logout/?ReturnTo=https://${server_name}/;
}
location /login {
return 301 https://${auth_server}/sp/login/?ReturnTo=https://${server_name}/;
return 303 https://${auth_server}/sp/login/?ReturnTo=https://${server_name}/;
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment