From 23455a187914d5ad080e12560b8a71876468c924 Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Thu, 3 Jun 2021 17:04:18 -0400 Subject: [PATCH] add redirect away from old SVG favicon --- nginx/nginx.conf | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/nginx/nginx.conf b/nginx/nginx.conf index 7ca1add1..140c2875 100644 --- a/nginx/nginx.conf +++ b/nginx/nginx.conf @@ -312,6 +312,11 @@ http { add_header Cache-Control "public, max-age=1800"; } + # redirect away from the old SVG favicon location + location ~ /mask\-icon.svg { + return 301 /favicon.svg; + } + location ~ "(/index|\.(br|gz|html))$" { internal; }