simplify redirect for broken backlinks

This commit is contained in:
Daniel Micay 2021-05-18 17:18:45 -04:00
parent ef81f23937
commit 2a86216b37

View File

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