Also listen on v4

Signed-off-by: root <root@pitchmadattack.srv.it-syndikat.org>
This commit is contained in:
root 2024-01-12 21:27:15 +01:00 committed by RBO
parent fb672e0e1f
commit 76356711d6

View file

@ -15,8 +15,10 @@ run:
filename: "/etc/nginx/conf.d/discourse.conf"
from: /listen 80;\s+gzip on;/m
to: |
listen 443 ssl http2;
listen [::]:443 ssl http2;
# ITS: Stuff for yxorp TLS-SNI support
listen 444 ssl http2 proxy_protocol;
listen [::]:444 ssl http2 proxy_protocol;
set_real_ip_from 2a01:4f8:10b:331f:0:ff:fe00:5;
real_ip_header proxy_protocol;