location /{
try_files $uri /index.html;
index index.html index.htm index.php;
}
通过服务器的nginx配置进行url重写到程序入口index.html,代码如上
location /{
try_files $uri /index.html;
index index.html index.htm index.php;
}
通过服务器的nginx配置进行url重写到程序入口index.html,代码如上