diff options
Diffstat (limited to 'ergo/templates/nginx.conf.j2')
| -rw-r--r-- | ergo/templates/nginx.conf.j2 | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ergo/templates/nginx.conf.j2 b/ergo/templates/nginx.conf.j2 index 1b1a83b..324376b 100644 --- a/ergo/templates/nginx.conf.j2 +++ b/ergo/templates/nginx.conf.j2 @@ -1,6 +1,9 @@ server { listen 6697 ssl; - proxy_pass unix:/var/ergo/socket; + + set $upstream unix:/var/ergo/socket; + proxy_pass $upstream; + proxy_protocol on; ssl_certificate {{nginx_ssl_cert}}; |
