server {
listen 80;
server_name localhost;
charset utf8;
#access_log logs/host.access.log main;
location / {
proxy_pass http://localhost:63342/app/; //本地打開文件(配合webstorm)
#root html;
#index index.html index.htm;
}
location /apis {
rewrite ^.+apis/?(.*)$ /$1 break;
proxy_pass http://127.0.0.1:8080; //接口的ip
}
.
.
.
}