Revert "docker-swarm-review"
This reverts commit 49d2697ef4c5047934a642b0df656c5112d37509.
This commit is contained in:
@@ -1,95 +0,0 @@
|
||||
server {
|
||||
listen 80;
|
||||
server_name crm1.sino-assist.com api1.sino-assist.com api-sit.sino-assist.com;
|
||||
|
||||
include /etc/nginx/ssl.sino_assist.conf;
|
||||
|
||||
# 中道汽车救援公众号
|
||||
location /MP_verify_TyW3WkUF0gacMB4m.txt {
|
||||
default_type text/html;
|
||||
return 200 "TyW3WkUF0gacMB4m";
|
||||
}
|
||||
|
||||
# 中道汽车服务服务号
|
||||
location /MP_verify_WjQInvWDvPvfZvL0.txt {
|
||||
default_type text/html;
|
||||
return 200 "WjQInvWDvPvfZvL0";
|
||||
}
|
||||
|
||||
location / {
|
||||
proxy_pass http://192.168.1.209:8080/;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Forwarded-Host $server_name;
|
||||
if ($request_filename ~ .*\.(htm|html)$) {
|
||||
add_header Cache-Control no-cache;
|
||||
}
|
||||
}
|
||||
|
||||
location /h5/supplier/dispatch {
|
||||
proxy_pass http://192.168.1.209:8031/h5/supplier/dispatch;
|
||||
proxy_set_header X-Forwarded-Host $server_name;
|
||||
client_max_body_size 200m;
|
||||
}
|
||||
|
||||
location ^~ /dev/h5/rescue {
|
||||
rewrite ^/dev/h5/rescue/(.*)$ /h5/client/$1 break;
|
||||
proxy_pass http://192.168.1.209:8032;
|
||||
proxy_set_header X-Forwarded-Host $server_name;
|
||||
client_max_body_size 200m;
|
||||
}
|
||||
|
||||
location ^~ /dev/h5/rvc {
|
||||
rewrite ^/dev/h5/rvc/(.*)$ /h5/rvc/$1 break;
|
||||
proxy_pass http://192.168.1.209:8035;
|
||||
proxy_set_header X-Forwarded-Host $server_name;
|
||||
client_max_body_size 200m;
|
||||
}
|
||||
|
||||
location /h5/rvc/ {
|
||||
proxy_pass http://192.168.1.209:8035/;
|
||||
proxy_set_header X-Forwarded-Host $server_name;
|
||||
client_max_body_size 200m;
|
||||
}
|
||||
|
||||
location /h5/client/ {
|
||||
proxy_pass http://192.168.1.209:8032/;
|
||||
proxy_set_header X-Forwarded-Host $server_name;
|
||||
client_max_body_size 200m;
|
||||
}
|
||||
|
||||
location /dev/h5/rentCar {
|
||||
proxy_pass http://192.168.1.209:8034/dev/h5/rentCar;
|
||||
proxy_set_header X-Forwarded-Host $server_name;
|
||||
client_max_body_size 200m;
|
||||
}
|
||||
}
|
||||
|
||||
server {
|
||||
listen 80;
|
||||
server_name portainer.sino-assist.com;
|
||||
|
||||
include /etc/nginx/ssl.sino_assist.conf;
|
||||
|
||||
location / {
|
||||
proxy_pass http://192.168.1.209:9000/;
|
||||
proxy_set_header X-Forwarded-Host $server_name;
|
||||
if ($request_filename ~ .*\.(htm|html)$) {
|
||||
add_header Cache-Control no-cache;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
server {
|
||||
listen 80;
|
||||
server_name oem-jlr.sino-assist.com;
|
||||
|
||||
include /etc/nginx/ssl.sino_assist.conf;
|
||||
|
||||
location / {
|
||||
proxy_pass http://192.168.1.226:5868/;
|
||||
proxy_set_header X-Forwarded-Host $server_name;
|
||||
if ($request_filename ~ .*\.(htm|html)$) {
|
||||
add_header Cache-Control no-cache;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user