simplify redirect for broken backlinks
This commit is contained in:
parent
ef81f23937
commit
2a86216b37
@ -148,7 +148,7 @@ http {
|
|||||||
|
|
||||||
# https://www.twipu.com/GrapheneOS doesn't handle links with fragments properly
|
# https://www.twipu.com/GrapheneOS doesn't handle links with fragments properly
|
||||||
if ($request_uri ~ "^/(.*)%3Ca%20href=$") {
|
if ($request_uri ~ "^/(.*)%3Ca%20href=$") {
|
||||||
return 301 https://grapheneos.org/$1;
|
return 301 /$1;
|
||||||
}
|
}
|
||||||
|
|
||||||
location = /security.txt {
|
location = /security.txt {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user