33 lines
754 B
Plaintext
33 lines
754 B
Plaintext
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;
|
|
}
|
|
}
|