【已解答】停止前端项目,配置文件会自动添加location /导...
正常运行的一个项目中已经配置了location / {
try_files $uri $uri/ /index.html;# 优先找文件/目录,找不到就转发到index.html
},但是如果停止项目,就会在自动添加上
location / {
try_files $uri /index.html;
},由于配置文件中本身就有location /,然后在添加新的站点的时候就会报错
测试没有复现,确保面板为最新版
页:
[1]