suppression http2

This commit is contained in:
2025-11-18 16:58:51 +01:00
parent 6608ae4e88
commit ccbf492e36
+4 -1
View File
@@ -83,7 +83,8 @@ defaults
frontend https frontend https
bind *:443,[::]:443 ssl crt /etc/haproxy/ssl/ strict-sni alpn h2,http/1.1 bind *:443,[::]:443 ssl crt /etc/haproxy/ssl/ strict-sni alpn http/1.1
#bind *:443,[::]:443 ssl crt /etc/haproxy/ssl/ strict-sni alpn h2,http/1.1
http-request set-header X-Forwarded-Proto https if { ssl_fc } http-request set-header X-Forwarded-Proto https if { ssl_fc }
http-request set-header X-Forwarded-Proto http if !{ ssl_fc } http-request set-header X-Forwarded-Proto http if !{ ssl_fc }
http-request set-header X-Forwarded-For %[src] http-request set-header X-Forwarded-For %[src]
@@ -191,6 +192,8 @@ backend stats-backend
server stats 192.168.1.49:3000 server stats 192.168.1.49:3000
backend n8n-backend backend n8n-backend
mode http
option forwardfor
server n8n 192.168.1.56:5678 server n8n 192.168.1.56:5678
backend links-mtb backend links-mtb