summaryrefslogtreecommitdiff
path: root/nginx
diff options
context:
space:
mode:
authorDaniel Micay <daniel.micay@grapheneos.org>2024-03-22 19:47:08 -0400
committerDaniel Micay <daniel.micay@grapheneos.org>2024-03-22 19:47:08 -0400
commitfa6725b935595714d61f90facecc0d6ac019565f (patch)
tree8cc2cdfb6b953206e43aa36c8d75d221ece68398 /nginx
parent4441aabc869d54f9856b007c8f80d0462cd250bc (diff)
drop legacy twipu redirects
Diffstat (limited to 'nginx')
-rw-r--r--nginx/nginx.conf5
1 files changed, 0 insertions, 5 deletions
diff --git a/nginx/nginx.conf b/nginx/nginx.conf
index baf471df..1cd44f32 100644
--- a/nginx/nginx.conf
+++ b/nginx/nginx.conf
@@ -442,11 +442,6 @@ http {
add_header Cache-Control "public, max-age=1800";
}
- # https://www.twipu.com/GrapheneOS doesn't handle links with fragments properly
- location ~ "^/([^\s]*)<a href=$" {
- return 301 /$1;
- }
-
location ~ "/index|\.(?:br|gz|html)$" {
internal;
}