Skip to content

Commit 79724e9

Browse files
authored
Fix TLS in socketed template (#925)
After 7d548ad, 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.
1 parent 79ccbcc commit 79724e9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

templates/web.socketed.template.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ run:
1919
set_real_ip_from unix:;
2020
- replace:
2121
filename: "/etc/nginx/conf.d/discourse.conf"
22-
from: /listen 443 ssl http2;/
22+
from: /listen 443 ssl;/
2323
to: |
24-
listen unix:/shared/nginx.https.sock ssl http2;
24+
listen unix:/shared/nginx.https.sock ssl;
2525
set_real_ip_from unix:;

0 commit comments

Comments
 (0)