From 4e3f449c2dfa413bfd0e281496556584c85140e8 Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Sun, 16 May 2021 04:50:20 -0400 Subject: [PATCH] fail fast on mta-sts bot traffic --- nginx/nginx.conf | 6 ++++++ 1 file changed, 6 insertions(+) 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 {