modified
This commit is contained in:
@@ -17,11 +17,14 @@ server {
|
|||||||
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
resolver 127.0.0.11;
|
#resolver 127.0.0.11;
|
||||||
set $upstream "http://vouch:9090";
|
#set $upstream "http://vouch:9090";
|
||||||
|
|
||||||
proxy_pass $upstream;
|
#proxy_pass $upstream;
|
||||||
proxy_set_header Host $http_host; # be sure to pass the original host header
|
#proxy_set_header Host $http_host;
|
||||||
|
|
||||||
|
proxy_pass http://127.0.0.1:9090;
|
||||||
|
proxy_set_header Host $http_host;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user