summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nginx/nginx.conf5
1 files changed, 5 insertions, 0 deletions
diff --git a/nginx/nginx.conf b/nginx/nginx.conf
index ac523a50..6190ffa6 100644
--- a/nginx/nginx.conf
+++ b/nginx/nginx.conf
@@ -176,6 +176,11 @@ http {
http2_push /grapheneos.css?29;
}
+ # broken link (now fixed) on https://noagendaphone.com/ with UTF-8 replacement character
+ location ~ "/\xEF\xBF\xBC" {
+ return 301 /;
+ }
+
location ~ "^(.*)/index$" {
return 301 $1/;
}