NGINX: Add MTA-STS
This commit is contained in:
parent
c47273663b
commit
cb564f3114
1 changed files with 15 additions and 0 deletions
|
@ -11,3 +11,18 @@ server {
|
|||
include /etc/nginx/snippets/proxy.conf;
|
||||
}
|
||||
}
|
||||
|
||||
server {
|
||||
listen 443 ssl;
|
||||
listen [::]:443 ssl;
|
||||
|
||||
server_name mta-sts.{{ domain }};
|
||||
|
||||
location / {
|
||||
return 404;
|
||||
}
|
||||
|
||||
location = /.well-known/mta-sts.txt {
|
||||
proxy_pass https://127.0.0.1:{{ ports['mailserver_https'] }};
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue