m
This commit is contained in:
1 parent
0a545f5ad4
commit
3fea8330b5
3 files changed
+55
-25
No files matched your search
@@ -2,6 +2,9 @@
|
||||
auth_request /validate;
|
||||
|
||||
location = /validate {
|
||||
# forward the /validate request to Vouch Proxy
|
||||
proxy_pass https://validate.vouch.armos.zinomedia.de:443;
|
||||
|
||||
# be sure to pass the original host header
|
||||
proxy_set_header Host $http_host;
|
||||
|
||||
@@ -16,8 +19,6 @@ location = /validate {
|
||||
auth_request_set $auth_resp_jwt $upstream_http_x_vouch_jwt;
|
||||
auth_request_set $auth_resp_err $upstream_http_x_vouch_err;
|
||||
auth_request_set $auth_resp_failcount $upstream_http_x_vouch_failcount;
|
||||
|
||||
proxy_pass https://validate.vouch.armos.zinomedia.de:443;
|
||||
}
|
||||
|
||||
# if validate returns `401 not authorized` then forward the request to the error401block
|
||||
|
||||
Reference in new issue
Block a user