From 2a86216b3737870ef558f3da97fb0b38d5601872 Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Tue, 18 May 2021 17:18:45 -0400 Subject: [PATCH] simplify redirect for broken backlinks --- nginx/nginx.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nginx/nginx.conf b/nginx/nginx.conf index ebd0ab8d..717a4691 100644 --- a/nginx/nginx.conf +++ b/nginx/nginx.conf @@ -148,7 +148,7 @@ http { # https://www.twipu.com/GrapheneOS doesn't handle links with fragments properly if ($request_uri ~ "^/(.*)%3Ca%20href=$") { - return 301 https://grapheneos.org/$1; + return 301 /$1; } location = /security.txt {