m
This commit is contained in:
@@ -15,13 +15,11 @@ server {
|
|||||||
include "snippets/ssl-optimizations.conf";
|
include "snippets/ssl-optimizations.conf";
|
||||||
|
|
||||||
location = /validate {
|
location = /validate {
|
||||||
|
# forward the /validate request to Vouch Proxy
|
||||||
resolver 127.0.0.11;
|
resolver 127.0.0.11;
|
||||||
set $upstream "http://vouch:9090/validate";
|
set $upstream "http://vouch:9090/validate";
|
||||||
proxy_pass $upstream;
|
proxy_pass $upstream;
|
||||||
|
|
||||||
# forward the /validate request to Vouch Proxy
|
|
||||||
#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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user