nginx 配置代理前端vue包
server { listen 18087; server_name localhost; location / { root D:\code\cp\cp3.3.0\cpcode\web\dist; index index.html index.htm; } location /permission/ { proxy_pass http://10.3.152.33:18083; } }
故乡明
server { listen 18087; server_name localhost; location / { root D:\code\cp\cp3.3.0\cpcode\web\dist; index index.html index.htm; } location /permission/ { proxy_pass http://10.3.152.33:18083; } }