add redirect for broken link
This commit is contained in:
parent
4f67a4d0a4
commit
967c9a7a7f
@ -176,6 +176,11 @@ http {
|
|||||||
http2_push /grapheneos.css?29;
|
http2_push /grapheneos.css?29;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# broken link (now fixed) on https://noagendaphone.com/ with UTF-8 replacement character
|
||||||
|
location ~ "/\xEF\xBF\xBC" {
|
||||||
|
return 301 /;
|
||||||
|
}
|
||||||
|
|
||||||
location ~ "^(.*)/index$" {
|
location ~ "^(.*)/index$" {
|
||||||
return 301 $1/;
|
return 301 $1/;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user