add back workaround for broken backlinks
This commit is contained in:
parent
7308089668
commit
299c79234d
@ -107,6 +107,11 @@ server {
|
||||
internal;
|
||||
}
|
||||
|
||||
# http://www.twipu.com/GrapheneOS doesn't handle links with fragments properly
|
||||
location ~ "^/(.*)<a href=$" {
|
||||
return 301 https://grapheneos.org/$1;
|
||||
}
|
||||
|
||||
location / {
|
||||
include /etc/nginx/snippets/security-headers.conf;
|
||||
add_header Cache-Control "public, max-age=1800";
|
||||
|
Loading…
x
Reference in New Issue
Block a user