Revert "docker-swarm-review"

This reverts commit 49d2697ef4c5047934a642b0df656c5112d37509.
This commit is contained in:
2026-05-13 15:27:11 +08:00
parent 95a34b2f89
commit da02c6a994
128 changed files with 0 additions and 13062 deletions

View File

@@ -1,75 +0,0 @@
server {
listen 80;
server_name api2.sino-assist.com interface.crm2.sino-assist.com;
include /etc/nginx/ssl.sino_assist.conf;
location /oss/minio/ {
proxy_set_header Host $http_host;
proxy_set_header REMOTE-HOST $remote_addr;
proxy_pass http://192.168.3.132:28773/oss/minio/;
}
location ~ .*actuator.* {
deny all;
}
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;
}
}
}
server {
listen 80;
server_name test-api-sh.do-dec.com test-api-nj.do-dec.com test-api-cd.do-dec.com test-api-wh.do-dec.com test-api-hz.do-dec.com;
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;
}
}
}
# cc.crm2 前端https
server {
include /etc/nginx/ssl.sino_assist.conf;
server_name cc.crm2.sino-assist.com crm2.sino-assist.com;
location / {
proxy_pass http://192.168.1.209:8081;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-Host $server_name;
if ($request_filename ~ .*\.(htm|html)$) {
add_header Cache-Control no-cache;
}
}
}
# http → https 跳转
server {
listen 80;
server_name cc.crm2.sino-assist.com crm2.sino-assist.com;
return 301 https://$server_name$request_uri;
}
server {
listen 80;
server_name stomp2.sino-assist.com;
include /etc/nginx/ssl.sino_assist.conf;
location / {
proxy_pass http://192.168.1.209:15674;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_http_version 1.1;
}
}