Skip to content

Commit

Permalink
Fix TLS in socketed template (#925)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
nta authored Jan 28, 2025
1 parent 79ccbcc commit 79724e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/web.socketed.template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:;

0 comments on commit 79724e9

Please sign in to comment.