keep redirect location blocks together
This commit is contained in:
parent
39d0e1a8d6
commit
9634d20dca
@ -182,6 +182,11 @@ http {
|
|||||||
return 301 /usage#updates;
|
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 {
|
location = /web-install {
|
||||||
return 301 /install/web;
|
return 301 /install/web;
|
||||||
}
|
}
|
||||||
@ -233,11 +238,6 @@ http {
|
|||||||
try_files /favicon.svg =404;
|
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/ {
|
location ^~ /fonts/ {
|
||||||
include snippets/security-headers.conf;
|
include snippets/security-headers.conf;
|
||||||
add_header Cross-Origin-Resource-Policy "same-origin" always;
|
add_header Cross-Origin-Resource-Policy "same-origin" always;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user