We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 531fc6f + ff21b54 commit 9b16950Copy full SHA for 9b16950
examples/nginx/single-file/nginx_with_vouch_single_server.conf
@@ -68,7 +68,7 @@ http {
68
69
location @error401 {
70
# redirect to Vouch Proxy for login
71
- return 302 login?url=$scheme://$http_host$request_uri&vouch-failcount=$auth_resp_failcount&X-Vouch-Token=$auth_resp_jwt&error=$auth_resp_err;
+ return 302 $scheme://$http_host/login?url=$scheme://$http_host$request_uri&vouch-failcount=$auth_resp_failcount&X-Vouch-Token=$auth_resp_jwt&error=$auth_resp_err;
72
# you usually *want* to redirect to Vouch running behind the same Nginx config proteced by https
73
# but to get started you can just forward the end user to the port that vouch is running on
74
}
0 commit comments