BTHLABS-0000: hotpocket.work.bthlabs.net
vhosts for dotcom
This commit is contained in:
parent
9a6ade0d96
commit
6d49db5081
|
@ -91,3 +91,50 @@ server {
|
||||||
add_header X-Upstream hotpocket-admin always;
|
add_header X-Upstream hotpocket-admin always;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
server {
|
||||||
|
listen *:80;
|
||||||
|
server_name dotcom.hotpocket.work.bthlabs.net;
|
||||||
|
|
||||||
|
location / {
|
||||||
|
# proxy_cache_bypass $http_upgrade;
|
||||||
|
# proxy_set_header Connection close;
|
||||||
|
# proxy_set_header Upgrade $http_upgrade;
|
||||||
|
proxy_request_buffering off;
|
||||||
|
proxy_set_header X-Forwarded-Host $host;
|
||||||
|
proxy_set_header X-Forwarded-Server $host;
|
||||||
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||||
|
proxy_set_header X-Forwarded-Proto $scheme;
|
||||||
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
|
proxy_set_header Host dotcom.hotpocket.work.bthlabs.net;
|
||||||
|
proxy_http_version 1.1;
|
||||||
|
proxy_pass http://10.100.100.101:8003/;
|
||||||
|
# proxy_redirect off;
|
||||||
|
add_header X-Upstream hotpocket-dotcom always;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
server {
|
||||||
|
listen *:443 ssl;
|
||||||
|
server_name dotcom.hotpocket.work.bthlabs.net;
|
||||||
|
|
||||||
|
ssl_certificate /Users/bilbo/Projects/HOTPOCKET/hotpocket/services/tls/app.hotpocket.work.bthlabs.net.crt;
|
||||||
|
ssl_certificate_key /Users/bilbo/Projects/HOTPOCKET/hotpocket/services/tls/app.hotpocket.work.bthlabs.net.key;
|
||||||
|
|
||||||
|
location / {
|
||||||
|
# proxy_cache_bypass $http_upgrade;
|
||||||
|
# proxy_set_header Connection close;
|
||||||
|
# proxy_set_header Upgrade $http_upgrade;
|
||||||
|
proxy_request_buffering off;
|
||||||
|
proxy_set_header X-Forwarded-Host $host;
|
||||||
|
proxy_set_header X-Forwarded-Server $host;
|
||||||
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||||
|
proxy_set_header X-Forwarded-Proto $scheme;
|
||||||
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
|
proxy_set_header Host dotcom.hotpocket.work.bthlabs.net;
|
||||||
|
proxy_http_version 1.1;
|
||||||
|
proxy_pass http://10.100.100.101:8003/;
|
||||||
|
# proxy_redirect off;
|
||||||
|
add_header X-Upstream hotpocket-dotcom always;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user