diff options
| author | Daniel Micay <danielmicay@gmail.com> | 2021-05-16 04:50:20 -0400 |
|---|---|---|
| committer | Daniel Micay <danielmicay@gmail.com> | 2021-05-16 04:50:20 -0400 |
| commit | 4e3f449c2dfa413bfd0e281496556584c85140e8 (patch) | |
| tree | 254dc8ada776b1861ae7769457cda564b19a3575 /nginx | |
| parent | 6728a8a24de19adaa95d37c50c211b73781da2b6 (diff) | |
fail fast on mta-sts bot traffic
Diffstat (limited to 'nginx')
| -rw-r--r-- | nginx/nginx.conf | 6 |
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 { |
