Add /.well-known/mta-sts.txt to all nginx dotfiles

This commit is contained in:
David Duque 2020-06-28 09:57:28 +01:00
parent fcb44dafa3
commit 7f305ee02e
No known key found for this signature in database
GPG Key ID: 2F327738A3C0AE3A
2 changed files with 25 additions and 12 deletions

View File

@ -7,6 +7,19 @@
# DON'T DELETE THE LINE BELOW
# ADDITIONAL DIRECTIVES HERE
location = /.well-known/mta-sts.txt {
alias /var/lib/mailinabox/mta-sts.txt;
}
location = /robots.txt {
log_not_found off;
access_log off;
}
location = /favicon.ico {
log_not_found off;
access_log off;
}
# Disable viewing dotfiles (.htaccess, .svn, .git, etc.)
# This block is placed at the end. Nginx's precedence rules means this block
# takes precedence over all non-regex matches and only regex matches that