convert regex location into exact match

This commit is contained in:
Daniel Micay 2021-05-18 02:35:59 -04:00
parent 9cfd6a9ca7
commit ea67f9c6b2

View File

@ -234,7 +234,7 @@ http {
}
# broken link (now fixed) on https://noagendaphone.com/ with UTF-8 replacement character
location ~ "^/\xEF\xBF\xBC$" {
location = /%EF%BF%BC {
return 301 /;
}