treat html extension as an implementation detail
These redirects aren't being used for any of the actual pages based on the access logs.
This commit is contained in:
parent
02b2606b93
commit
81fa2a6f23
@ -133,10 +133,6 @@ http {
|
||||
gzip_static on;
|
||||
brotli_static on;
|
||||
|
||||
if ($request_uri ~ ^/(.*)\.html$) {
|
||||
return 301 /$1;
|
||||
}
|
||||
|
||||
if ($request_uri ~ (.*)//(.*)) {
|
||||
return 301 $1/$2;
|
||||
}
|
||||
@ -293,7 +289,7 @@ http {
|
||||
add_header Cache-Control "public, max-age=1800";
|
||||
}
|
||||
|
||||
location ~ "\.(br|gz)$" {
|
||||
location ~ "\.(br|gz|html)$" {
|
||||
internal;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user