瀏覽代碼

fix🐛: 增加nginx配置history路由支持

lwnmengjing 4 年之前
父節點
當前提交
31b5b8bc1d
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      scripts/k8s/default.conf

+ 1 - 0
scripts/k8s/default.conf

@@ -9,6 +9,7 @@ server {
   location / {
       root   /usr/share/nginx/html;
       index  index.html index.htm;
+      try_files $uri $uri/ /index.html;
   }
 
   location /api {