summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Micay <danielmicay@gmail.com>2021-05-16 04:50:20 -0400
committerDaniel Micay <danielmicay@gmail.com>2021-05-16 04:50:20 -0400
commit4e3f449c2dfa413bfd0e281496556584c85140e8 (patch)
tree254dc8ada776b1861ae7769457cda564b19a3575
parent6728a8a24de19adaa95d37c50c211b73781da2b6 (diff)
fail fast on mta-sts bot traffic
-rw-r--r--nginx/nginx.conf6
1 files changed, 6 insertions, 0 deletions
diff --git a/nginx/nginx.conf b/nginx/nginx.conf
index db9ea769..46fcb601 100644
--- a/nginx/nginx.conf
+++ b/nginx/nginx.conf
@@ -342,6 +342,12 @@ http {
location = / {
return 301 https://grapheneos.org/articles/grapheneos-servers;
}
+
+ location = /.well-known/mta-sts.txt {}
+
+ location / {
+ return 404;
+ }
}
server {