vps/roles/nginx/templates/sites-enabled/mail.conf

14 lines
287 B
Text
Raw Normal View History

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;
}
}