SPA前端网站部署的伪静态规则配置

作者:Administrator 发布时间: 2025-08-08 阅读量:0

在 nginx 中添加如下一个 伪静态 规则即可。

location / {
    try_files $uri $uri/ /index.html;
}