#智动pc
server {
listen 8082;
server_name localhost 192.168.10.102 192.168.11.117 192.168.43.53 192.168.0.8;
#charset koi8-r;
#access_log logs/host.access.log main;
error_log nginx_error.log debug;
location / {
root /Users/shuwenjie/tellco/projects/zhidong1/digitalcampusweb;
index index.html index.htm;
client_max_body_size 1000000m;
}
location /api/ {
proxy_pass http://192.168.10.104:9880/api/;#火林电脑
#proxy_pass http://192.168.11.131:8090/api/; #与存电脑
#proxy_pass http://192.168.10.221:8081/api/;
#proxy_pass http://xpg-test.jxszxy.cn/api/;
client_max_body_size 1000000m;
}
location /hub/ {
proxy_pass http://192.168.10.221:8081/dc-sso/;
}
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root html;
}
}