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;
index index.html;
location ~ ^([^.\?]*[^/])$ {
return 301 $1/;
}
# location ~ ^([^.\?]*[^/])$ {
# return 301 $1/;
# }
# Main location
location / {
try_files $uri $uri/ $uri.html;
}