add redirect for broken link

This commit is contained in:
Daniel Micay 2020-12-30 19:45:22 -05:00
parent 4f67a4d0a4
commit 967c9a7a7f

View File

@ -176,6 +176,11 @@ http {
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$" {
return 301 $1/;
}