keep redirect location blocks together

This commit is contained in:
Daniel Micay 2021-05-18 13:58:15 -04:00
parent 39d0e1a8d6
commit 9634d20dca

View File

@ -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;