server { listen 8086 ssl; listen [::]:8086 ssl; server_name {{ dns_name }}; ssl_certificate /etc/letsencrypt/live/{{ dns_name }}/fullchain.pem; ssl_certificate_key /etc/letsencrypt/live/{{ dns_name }}/privkey.pem; location / { proxy_pass http://localhost:8087; } }