summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Micay <danielmicay@gmail.com>2021-05-18 02:35:59 -0400
committerDaniel Micay <danielmicay@gmail.com>2021-05-18 02:35:59 -0400
commitea67f9c6b2fb421686147fd4040e76a49010568d (patch)
tree159434c763624473d37fb1160923cb61bb50ac38
parent9cfd6a9ca712c62ce1d83df9c1744a9bc163e503 (diff)
convert regex location into exact match
-rw-r--r--nginx/nginx.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/nginx/nginx.conf b/nginx/nginx.conf
index b62b5633..0067d31e 100644
--- a/nginx/nginx.conf
+++ b/nginx/nginx.conf
@@ -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 /;
}