解决Vue和React刷新页面404

解决Vue和React刷新页面404

1
2
3
location / {
try_files $uri $uri/ /index.html;
}