make location specification consistent
This commit is contained in:
parent
5ebc1f433f
commit
8775636c34
@ -417,7 +417,7 @@ server {
|
|||||||
|
|
||||||
location @error401 {
|
location @error401 {
|
||||||
# redirect to Vouch Proxy for login
|
# redirect to Vouch Proxy for login
|
||||||
return 302 https://{{ $vouch_external_location }}/login?url=$scheme://$http_host$request_uri&vouch-failcount=$auth_resp_failcount&X-Vouch-Token=$auth_resp_jwt&error=$auth_resp_err;
|
return 302 {{ $vouch_external_location }}/login?url=$scheme://$http_host$request_uri&vouch-failcount=$auth_resp_failcount&X-Vouch-Token=$auth_resp_jwt&error=$auth_resp_err;
|
||||||
}
|
}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user