This commit is contained in:
2026-04-09 23:34:00 +02:00
parent 28935c1590
commit 3f4bcc2d52

View File

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