From 8a7cd3efb52de4558430655abda05a1ac1f33668 Mon Sep 17 00:00:00 2001 From: Norma Date: Sun, 26 Jan 2025 13:55:38 +0100 Subject: [PATCH] Fix TLS in socketed template 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 ff4f87a1b5..e6748bae8b 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:;