From 3f4bcc2d523e7f411eb27d387c8764e6dd086527 Mon Sep 17 00:00:00 2001 From: Ihor_Zhekov Date: Thu, 9 Apr 2026 23:34:00 +0200 Subject: [PATCH] 1 --- nginx.conf | 4 ---- 1 file changed, 4 deletions(-) diff --git a/nginx.conf b/nginx.conf index 4acae74..96d0829 100644 --- a/nginx.conf +++ b/nginx.conf @@ -4,10 +4,6 @@ server { root /usr/share/nginx/html; index index.html; - # Redirect requests with .html extension to clean URL - location ~* ^/(.+)\.html$ { - return 301 /$1$is_args$args; - } # Serve clean URLs by trying $uri, then $uri.html location / {