add back workaround for broken backlinks

This commit is contained in:
Daniel Micay 2020-05-08 06:07:48 -04:00
parent 7308089668
commit 299c79234d

View File

@ -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";