瀏覽代碼

maxkey nginx.conf fix

MaxKey 2 年之前
父節點
當前提交
775bae2a23
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      maxkey-web-frontend/maxkey-web-app/nginx.conf

+ 2 - 1
maxkey-web-frontend/maxkey-web-app/nginx.conf

@@ -7,7 +7,8 @@ server {
     location / {
         root   /usr/share/nginx/html;
         index  index.html index.htm;
-        try_files $uri $uri/ /index.html;
+		try_files $uri$args $uri$args/ /maxkey/index.html;
+        #try_files $uri $uri/ /index.html;
     }
 
     error_page   500 502 503 504  /50x.html;