Browse Source

update nginx config

Zhang Li 2 years ago
parent
commit
f0280abeb3
1 changed files with 1 additions and 1 deletions
  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