diff options
| author | Daniel Micay <danielmicay@gmail.com> | 2021-05-18 13:58:15 -0400 |
|---|---|---|
| committer | Daniel Micay <danielmicay@gmail.com> | 2021-05-18 13:58:15 -0400 |
| commit | 9634d20dca3258d3250f7a2d6729899ca6c191af (patch) | |
| tree | 9fe92a93097f8934366f1e6ba54f65cfdab6fe02 /nginx | |
| parent | 39d0e1a8d655cc231b3d01e6bd5725a145e7fb06 (diff) | |
keep redirect location blocks together
Diffstat (limited to 'nginx')
| -rw-r--r-- | nginx/nginx.conf | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/nginx/nginx.conf b/nginx/nginx.conf index f5e31702..ca2211d6 100644 --- a/nginx/nginx.conf +++ b/nginx/nginx.conf @@ -182,6 +182,11 @@ http { return 301 /usage#updates; } + # broken link (now fixed) on https://noagendaphone.com/ with UTF-8 replacement character + location = /%EF%BF%BC { + return 301 /; + } + location = /web-install { return 301 /install/web; } @@ -233,11 +238,6 @@ http { try_files /favicon.svg =404; } - # broken link (now fixed) on https://noagendaphone.com/ with UTF-8 replacement character - location = /%EF%BF%BC { - return 301 /; - } - location ^~ /fonts/ { include snippets/security-headers.conf; add_header Cross-Origin-Resource-Policy "same-origin" always; |
