From 031333b6165cf8783497fbdc9e2e0488a93f84e7 Mon Sep 17 00:00:00 2001 From: StepanovPlaton Date: Tue, 3 Feb 2026 13:19:39 +0400 Subject: [PATCH] update nginx conf --- nginx.conf | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/nginx.conf b/nginx.conf index 3c73da5..9b910c7 100644 --- a/nginx.conf +++ b/nginx.conf @@ -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; }