m
This commit is contained in:
@@ -27,6 +27,10 @@ server {
|
||||
internal;
|
||||
proxy_pass https://validate.vouch.armos.zinomedia.de;
|
||||
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
proxy_set_header X-Forwarded-Host $http_host;
|
||||
|
||||
# # be sure to pass the original host header
|
||||
# proxy_set_header Host $http_host;
|
||||
|
||||
|
||||
@@ -36,6 +36,11 @@ server {
|
||||
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_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
proxy_set_header X-Forwarded-Host $http_host;
|
||||
}
|
||||
|
||||
# location / {
|
||||
|
||||
Reference in New Issue
Block a user