update nginx conf

This commit is contained in:
2026-02-03 13:19:39 +04:00
parent dd4afc77a7
commit 031333b616

View File

@@ -4,11 +4,10 @@ server {
root /usr/share/nginx/html; root /usr/share/nginx/html;
index index.html; index index.html;
location ~ ^([^.\?]*[^/])$ { # location ~ ^([^.\?]*[^/])$ {
return 301 $1/; # return 301 $1/;
} # }
# Main location
location / { location / {
try_files $uri $uri/ $uri.html; try_files $uri $uri/ $uri.html;
} }