docker-swarm-review

This commit is contained in:
2026-05-13 15:23:46 +08:00
parent da02c6a994
commit 5074e9cc42
128 changed files with 13062 additions and 0 deletions

View File

@@ -0,0 +1,70 @@
server {
listen 80;
server_name pay.sinoassist.com;
include /etc/nginx/ssl.conf;
location /MP_verify_WjQInvWDvPvfZvL0.txt {
default_type text/html;
return 200 "WjQInvWDvPvfZvL0";
}
location /api/ {
proxy_next_upstream http_502 http_504 error timeout invalid_header;
proxy_pass http://192.168.3.125:9216;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
}
location / {
proxy_pass http://192.168.3.125:9226;
proxy_set_header X-Forwarded-Host $server_name;
if ($request_filename ~ .*\.(htm|html)$) {
add_header Cache-Control no-cache;
}
}
}
server {
listen 80;
server_name pay-manager.sino-assist.com;
include /etc/nginx/ssl.sino_assist.conf;
location /api/ {
proxy_next_upstream http_502 http_504 error timeout invalid_header;
proxy_pass http://192.168.3.125:9217;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
}
location / {
proxy_pass http://192.168.3.125:9227;
proxy_set_header X-Forwarded-Host $server_name;
if ($request_filename ~ .*\.(htm|html)$) {
add_header Cache-Control no-cache;
}
}
}
server {
listen 80;
server_name pay-client.sino-assist.com;
include /etc/nginx/ssl.sino_assist.conf;
location /api/ {
proxy_next_upstream http_502 http_504 error timeout invalid_header;
proxy_pass http://192.168.3.125:9218;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
}
location / {
proxy_pass http://192.168.3.125:9228;
proxy_set_header X-Forwarded-Host $server_name;
if ($request_filename ~ .*\.(htm|html)$) {
add_header Cache-Control no-cache;
}
}
}