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,43 @@
# http → https 跳转
server {
listen 80;
server_name uat.sino-assist.com api-uat.sino-assist.com api-pre.sino-assist.com;
return 301 https://$host$request_uri;
}
server {
server_name uat.sino-assist.com api-uat.sino-assist.com api-pre.sino-assist.com;
include /etc/nginx/ssl.sino_assist.conf;
location / {
proxy_cookie_path / "/; HttpOnly; Secure; SameSite=Strict";
proxy_pass http://192.168.3.126: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.3.126:8031/h5/supplier/dispatch;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-Host $server_name;
client_max_body_size 200m;
}
location /h5/client {
proxy_pass http://192.168.3.126:8032/h5/client;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-Host $server_name;
client_max_body_size 200m;
}
location /dev/h5/rentCar {
proxy_pass http://192.168.3.126:8034/dev/h5/rentCar;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-Host $server_name;
client_max_body_size 200m;
}
}