Pārlūkot izejas kodu

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

lwnmengjing 4 gadi atpakaļ
vecāks
revīzija
31b5b8bc1d
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  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 {