Explorar el Código

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

lwnmengjing hace 4 años
padre
commit
31b5b8bc1d
Se han modificado 1 ficheros con 1 adiciones y 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 {