From 5df5b763782b0fd270a48154cb5a6b784a950866 Mon Sep 17 00:00:00 2001 From: Ihor_Zhekov Date: Wed, 22 Apr 2026 11:26:23 +0200 Subject: [PATCH] nginx fix --- nginx.conf | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/nginx.conf b/nginx.conf index 51acb5d..3d54342 100644 --- a/nginx.conf +++ b/nginx.conf @@ -5,11 +5,6 @@ server { root /usr/share/nginx/html; index index.html; - # Redirect /index.html to / - location = /index.html { - return 301 /; - } - location / { try_files $uri $uri/ /index.html; } @@ -22,4 +17,4 @@ server { gzip on; gzip_types text/plain text/css application/javascript image/svg+xml; -} +} \ No newline at end of file