server { listen 443 ssl; listen [::]:443 ssl; server_name jmap.{{ domain }}; location / { proxy_pass https://127.0.0.1:{{ ports['mailserver_jmap'] }}; include /etc/nginx/snippets/websocket.conf; } }