28 lines
546 B
Text
28 lines
546 B
Text
server {
|
|
listen 443 ssl;
|
|
listen [::]:443 ssl;
|
|
|
|
server_name mail.{{ domain }};
|
|
|
|
location / {
|
|
proxy_pass https://127.0.0.1:{{ ports['mailserver_https'] }};
|
|
|
|
include /etc/nginx/snippets/websocket.conf;
|
|
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'] }};
|
|
}
|
|
}
|