📜  反应刷新 404 错误 - 无论代码示例

📅  最后修改于: 2022-03-11 15:00:27.039000             🧑  作者: Mango

代码示例1
#paste this in nginx conf file
location / {
  if (!-e $request_filename){
    rewrite ^(.*)$ /index.html break;
  }
}