location / {
index index.html index.htm;
try_files $uri $uri/ @router;
index index.html index.htm;
}
location /jeecg-boot/ {
proxy_pass http://127.0.0.1:8080;
}
location @router {
rewrite ^.*$ /index.html last;
}
Nginx部署vue项目配置文件
最新推荐文章于 2024-06-25 14:33:16 发布