server { listen 443 ssl; listen [::]:443 ssl; server_name hedgedoc.{{ domain }}; location / { proxy_pass http://127.0.0.1:{{ ports['hedgedoc'] }}; } location /socket.io/ { proxy_pass http://127.0.0.1:{{ ports['hedgedoc'] }}; include /etc/nginx/snippets/websocket.conf; include /etc/nginx/snippets/proxy.conf; } }