mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2025-01-11 10:37:05 +00:00
Add /.well-known/mta-sts.txt to all nginx dotfiles
This commit is contained in:
parent
fcb44dafa3
commit
7f305ee02e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user