代码拉取完成,页面将自动刷新
同步操作将从 ZhangXinYa/Angular 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
worker_processes 4;
events {
worker_connections 1024;
}
http {
client_max_body_size 100m;
include mime.types;
default_type application/octet-stream;
sendfile on;
map $http_upgrade $connection_upgrade {
default upgrade;
}
upstream @identity{
server 10.13.0.117:5105 max_fails=1 fail_timeout=300;
}
upstream @api{
server 10.13.0.117:29314 max_fails=1 fail_timeout=300;
}
upstream @waswebserver{
server 10.13.0.117:29314 max_fails=1 fail_timeout=300;
}
upstream @wasServer{
server 10.13.0.117:8080 max_fails=1 fail_timeout=300;
}
server {
listen 4203;
root D:/AngularWeb;
location / {
try_files $uri /index.html;
}
location ~ ^/identity/* {
rewrite ^/identity/(.*) /$1 break;
proxy_redirect ~^http://10.13.0.117(.*) http://10.13.0.117:5105$1;
proxy_pass http://@identity;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_connect_timeout 10s;
proxy_read_timeout 3600s;
}
location ~ ^/api/* {
rewrite ^/api/(.*) /$1 break;
proxy_redirect ~^http://10.13.0.117(.*) http://10.13.0.117:29314$1;
proxy_pass http://@api;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_connect_timeout 10s;
proxy_read_timeout 3600s;
}
location ~ ^/waswebserver/* {
rewrite ^/waswebserver/(.*) /$1 break;
proxy_redirect ~^http://10.13.0.117(.*) http://10.13.0.117:29314$1;
proxy_pass http://@waswebserver;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_connect_timeout 10s;
proxy_read_timeout 3600s;
}
location ~ ^/wasServer/* {
rewrite ^/wasServer/(.*) /$1 break;
proxy_redirect ~^http://10.13.0.117(.*) http://10.13.0.117:8080$1;
proxy_pass http://@wasServer;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_connect_timeout 10s;
proxy_read_timeout 3600s;
}
}
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。