m
This commit is contained in:
@@ -23,7 +23,7 @@ server {
|
|||||||
proxy_pass http://vouch:9090/validate;
|
proxy_pass http://vouch:9090/validate;
|
||||||
|
|
||||||
# be sure to pass the original host header
|
# be sure to pass the original host header
|
||||||
# proxy_set_header Host $http_host;
|
proxy_set_header Host $http_host;
|
||||||
|
|
||||||
# # Vouch Proxy only acts on the request headers
|
# # Vouch Proxy only acts on the request headers
|
||||||
# proxy_pass_request_body off;
|
# proxy_pass_request_body off;
|
||||||
@@ -43,9 +43,9 @@ server {
|
|||||||
# proxy_set_header X-Forwarded-Host $http_host;
|
# proxy_set_header X-Forwarded-Host $http_host;
|
||||||
}
|
}
|
||||||
|
|
||||||
location / {
|
# location / {
|
||||||
return 301 https://google.com;
|
# return 301 https://google.com;
|
||||||
}
|
# }
|
||||||
|
|
||||||
# location /auth {
|
# location /auth {
|
||||||
# return 302 https://google.com;
|
# return 302 https://google.com;
|
||||||
|
|||||||
Reference in New Issue
Block a user