Always use https for redirect url.
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
2024-12-06 00:09:04 -06:00
parent b2fb82ce04
commit 4249ab7bc7

View File

@@ -30,7 +30,7 @@ server {
location @error401 {
# redirect to Vouch Proxy for login
return 302 https://@VOUCH_EXTERNAL@/login?url=$scheme://$http_host$request_uri&vouch-failcount=$auth_resp_failcount&X-Vouch-Token=$auth_resp_jwt&error=$auth_resp_err;
return 302 https://@VOUCH_EXTERNAL@/login?url=https://$http_host$request_uri&vouch-failcount=$auth_resp_failcount&X-Vouch-Token=$auth_resp_jwt&error=$auth_resp_err;
}
location / {