1
This commit is contained in:
@@ -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 / {
|
||||
|
||||
Reference in New Issue
Block a user