diff options
| author | Daniel Micay <danielmicay@gmail.com> | 2021-05-18 02:35:59 -0400 |
|---|---|---|
| committer | Daniel Micay <danielmicay@gmail.com> | 2021-05-18 02:35:59 -0400 |
| commit | ea67f9c6b2fb421686147fd4040e76a49010568d (patch) | |
| tree | 159434c763624473d37fb1160923cb61bb50ac38 /nginx | |
| parent | 9cfd6a9ca712c62ce1d83df9c1744a9bc163e503 (diff) | |
convert regex location into exact match
Diffstat (limited to 'nginx')
| -rw-r--r-- | nginx/nginx.conf | 2 |
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 /; } |
