server { listen 6697 ssl; set $upstream unix:/var/ergo/socket; proxy_pass $upstream; proxy_protocol on; ssl_certificate {{nginx_ssl_cert}}; ssl_certificate_key {{nginx_ssl_privkey}}; }