From 464cbc372635cd82c98749931ac6901b1f81e968 Mon Sep 17 00:00:00 2001 From: Luke Hoersten Date: Sun, 6 Nov 2022 18:23:19 -0600 Subject: Fixed proxy pass. --- ergo/templates/nginx.conf.j2 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'ergo') 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}}; -- cgit v1.2.3