docker-swarm-review
This commit is contained in:
32
docker-swarm-review/nginx-review-132/swarm/sites/wx.conf
Normal file
32
docker-swarm-review/nginx-review-132/swarm/sites/wx.conf
Normal file
@@ -0,0 +1,32 @@
|
||||
server {
|
||||
listen 80;
|
||||
server_name supplierwxtest.sino-assist.com;
|
||||
|
||||
include /etc/nginx/ssl.sino_assist.conf;
|
||||
|
||||
location /ws {
|
||||
proxy_pass http://192.168.3.111:13000/ws;
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection "Upgrade";
|
||||
}
|
||||
|
||||
location / {
|
||||
proxy_pass http://192.168.13.24:8081;
|
||||
proxy_set_header X-Forwarded-Host $server_name;
|
||||
client_max_body_size 200m;
|
||||
}
|
||||
}
|
||||
|
||||
server {
|
||||
listen 80;
|
||||
server_name site.sinoassist.com;
|
||||
|
||||
include /etc/nginx/ssl.sino_assist.conf;
|
||||
|
||||
location / {
|
||||
proxy_pass http://192.168.10.2:8090;
|
||||
proxy_set_header X-Forwarded-Host $server_name;
|
||||
client_max_body_size 200m;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user