From 79724e9e2834fa7ff745f3232ee993b81e6c8db4 Mon Sep 17 00:00:00 2001 From: nta~ Date: Tue, 28 Jan 2025 01:59:53 +0100 Subject: [PATCH] Fix TLS in socketed template (#925) After 7d548ad4ae3022863262f485505a32df13df1983, the replacement pattern in web.socketed.template.yml no longer matches, making nginx.https.sock not exist. As such, remove the `http2` field from the `listen` directive to match aforementioned commit. --- templates/web.socketed.template.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/web.socketed.template.yml b/templates/web.socketed.template.yml index ff4f87a..e6748ba 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:; -- 2.25.1