2024-04-01 10:27:06 +02:00
|
|
|
server {
|
|
|
|
listen 443 ssl;
|
|
|
|
listen [::]:443 ssl;
|
|
|
|
|
2024-05-02 22:49:00 +02:00
|
|
|
server_name mail.{{ domain }};
|
2024-04-01 10:27:06 +02:00
|
|
|
|
|
|
|
location / {
|
2024-05-02 22:49:00 +02:00
|
|
|
proxy_pass https://127.0.0.1:{{ ports['mailserver_https'] }};
|
2024-04-01 10:27:06 +02:00
|
|
|
|
|
|
|
include /etc/nginx/snippets/websocket.conf;
|
2024-04-08 17:35:09 +02:00
|
|
|
include /etc/nginx/snippets/proxy.conf;
|
2024-04-01 10:27:06 +02:00
|
|
|
}
|
|
|
|
}
|
2024-07-03 12:41:23 +02:00
|
|
|
|
2024-07-06 10:28:54 +02:00
|
|
|
server {
|
|
|
|
listen 443 ssl;
|
|
|
|
listen [::]:443 ssl;
|
|
|
|
|
|
|
|
server_name autoconfig.{{ domain }};
|
|
|
|
|
|
|
|
location / {
|
|
|
|
return 404;
|
|
|
|
}
|
|
|
|
|
|
|
|
location = /mail/config-v1.1.xml {
|
|
|
|
proxy_pass https://127.0.0.1:{{ ports['mailserver_https'] }};
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-07-03 12:41:23 +02:00
|
|
|
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'] }};
|
|
|
|
}
|
|
|
|
}
|