Explorar el Código

update nginx config

Zhang Li hace 2 años
padre
commit
f0280abeb3
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      Dockerfile

+ 1 - 1
Dockerfile

@@ -18,7 +18,7 @@ server {\n\
     index index.html index.htm;\n\
 \n\
     location / {\n\
-    try_files \$uri \$uri/ =404;\n\
+    try_files \$uri \$uri/ /index.html;\n\
     }\n\
 }\n\
 " > /etc/nginx/conf.d/default.conf