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 / {