Explorar o código

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

lwnmengjing %!s(int64=4) %!d(string=hai) anos
pai
achega
31b5b8bc1d
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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 {