diff --git a/templates/web.socketed.template.yml b/templates/web.socketed.template.yml index ff4f87a1b..e6748bae8 100644 --- a/templates/web.socketed.template.yml +++ b/templates/web.socketed.template.yml @@ -19,7 +19,7 @@ run: set_real_ip_from unix:; - replace: filename: "/etc/nginx/conf.d/discourse.conf" - from: /listen 443 ssl http2;/ + from: /listen 443 ssl;/ to: | - listen unix:/shared/nginx.https.sock ssl http2; + listen unix:/shared/nginx.https.sock ssl; set_real_ip_from unix:;