Revert "docker-swarm-review"
This reverts commit 49d2697ef4c5047934a642b0df656c5112d37509.
This commit is contained in:
@@ -1,80 +0,0 @@
|
||||
# review 后端接口(原经 3.110 → 3.132:18092 中转,现直连网关)
|
||||
server {
|
||||
listen 80;
|
||||
server_name interface.review.sino-assist.com apireview.sino-assist.com;
|
||||
|
||||
include /etc/nginx/ssl.sino_assist.conf;
|
||||
|
||||
location / {
|
||||
proxy_pass http://192.168.3.132:28092;
|
||||
proxy_set_header X-Forwarded-Host $server_name;
|
||||
if ($request_filename ~ .*\.(htm|html)$) {
|
||||
add_header Cache-Control no-cache;
|
||||
}
|
||||
}
|
||||
|
||||
location ~ .*actuator.* {
|
||||
deny all;
|
||||
}
|
||||
}
|
||||
|
||||
# review 前端
|
||||
server {
|
||||
include /etc/nginx/ssl.sino_assist.conf;
|
||||
server_name cc.review.sino-assist.com ccreview.sino-assist.com;
|
||||
|
||||
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 /dev/h5/rescue/ {
|
||||
proxy_pass http://192.168.1.209:8032/;
|
||||
proxy_set_header X-Forwarded-Host $server_name;
|
||||
client_max_body_size 200m;
|
||||
}
|
||||
|
||||
location /m/ {
|
||||
return 301 https://api1.sino-assist.com/base/shortUrlMappings/$request_uri;
|
||||
}
|
||||
|
||||
location /m/dev- {
|
||||
return 301 https://api.sinoassist.com/base/shortUrlMappings/$request_uri;
|
||||
}
|
||||
|
||||
location / {
|
||||
proxy_pass http://192.168.3.132:8081;
|
||||
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.review.sino-assist.com ccreview.sino-assist.com;
|
||||
add_header Strict-Transport-Security max-age=15768000;
|
||||
return 301 https://ccreview.sino-assist.com$request_uri;
|
||||
}
|
||||
|
||||
server {
|
||||
listen 80;
|
||||
server_name jenkins.sino-assist.com;
|
||||
|
||||
include /etc/nginx/ssl.sino_assist.conf;
|
||||
|
||||
location / {
|
||||
proxy_pass http://192.168.3.120:8081;
|
||||
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