在宝塔面板站点中增加相应配置:
location / { try_files $uri $uri/ @router; index index.html; } location @router { rewrite ^.*$ /index.html last; }
2023-12-24 15:42:40
在宝塔面板站点中增加相应配置:
location / { try_files $uri $uri/ @router; index index.html; } location @router { rewrite ^.*$ /index.html last; }