From 775bae2a230bd7e63ad52a548d270c6c1e8be891 Mon Sep 17 00:00:00 2001 From: MaxKey Date: Mon, 24 Oct 2022 18:07:36 +0800 Subject: [PATCH] maxkey nginx.conf fix --- maxkey-web-frontend/maxkey-web-app/nginx.conf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/maxkey-web-frontend/maxkey-web-app/nginx.conf b/maxkey-web-frontend/maxkey-web-app/nginx.conf index 809ba2fee..e4454f40f 100644 --- a/maxkey-web-frontend/maxkey-web-app/nginx.conf +++ b/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;