maxkey nginx.conf fix

This commit is contained in:
MaxKey 2022-10-24 18:07:36 +08:00
parent 8e7423773b
commit 775bae2a23

View File

@ -7,7 +7,8 @@ server {
location / { location / {
root /usr/share/nginx/html; root /usr/share/nginx/html;
index index.html index.htm; 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; error_page 500 502 503 504 /50x.html;