From 9634d20dca3258d3250f7a2d6729899ca6c191af Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Tue, 18 May 2021 13:58:15 -0400 Subject: [PATCH] keep redirect location blocks together --- nginx/nginx.conf | 10 +++++----- 1 file 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;