mirror of
https://github.com/bigbluebutton/docker.git
synced 2025-06-20 11:48:22 +02:00
haproxy: correctly identify http traffic
This commit is contained in:
parent
340e9fdb30
commit
8704ec2147
@ -446,6 +446,7 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- ./data/haproxy/letsencrypt:/etc/letsencrypt
|
- ./data/haproxy/letsencrypt:/etc/letsencrypt
|
||||||
- ./mod/haproxy/haproxy.cfg:/etc/haproxy/haproxy.cfg
|
- ./mod/haproxy/haproxy.cfg:/etc/haproxy/haproxy.cfg
|
||||||
|
- ./mod/haproxy/protocolmap:/etc/haproxy/protocolmap
|
||||||
environment:
|
environment:
|
||||||
- IGNORE_TLS_CERT_ERRORS={{$ignore_tls_cert_errors}}
|
- IGNORE_TLS_CERT_ERRORS={{$ignore_tls_cert_errors}}
|
||||||
- CERT1=${DOMAIN}
|
- CERT1=${DOMAIN}
|
||||||
|
@ -64,7 +64,7 @@ frontend nginx_or_turn
|
|||||||
use_backend nginx-http2 if { ssl_fc_alpn h2 }
|
use_backend nginx-http2 if { ssl_fc_alpn h2 }
|
||||||
use_backend nginx if { ssl_fc_alpn http/1.1 }
|
use_backend nginx if { ssl_fc_alpn http/1.1 }
|
||||||
use_backend turn if { ssl_fc_alpn stun.turn }
|
use_backend turn if { ssl_fc_alpn stun.turn }
|
||||||
# use_backend %[capture.req.hdr(0),map_str(/etc/haproxy/protocolmap,turn)]
|
use_backend %[capture.req.hdr(0),map_str(/etc/haproxy/protocolmap,turn)]
|
||||||
default_backend turn
|
default_backend turn
|
||||||
|
|
||||||
backend turn
|
backend turn
|
||||||
|
52
mod/haproxy/protocolmap
Normal file
52
mod/haproxy/protocolmap
Normal file
@ -0,0 +1,52 @@
|
|||||||
|
a nginx
|
||||||
|
b nginx
|
||||||
|
c nginx
|
||||||
|
d nginx
|
||||||
|
e nginx
|
||||||
|
f nginx
|
||||||
|
g nginx
|
||||||
|
h nginx
|
||||||
|
i nginx
|
||||||
|
j nginx
|
||||||
|
k nginx
|
||||||
|
l nginx
|
||||||
|
m nginx
|
||||||
|
n nginx
|
||||||
|
o nginx
|
||||||
|
p nginx
|
||||||
|
q nginx
|
||||||
|
r nginx
|
||||||
|
s nginx
|
||||||
|
t nginx
|
||||||
|
u nginx
|
||||||
|
v nginx
|
||||||
|
w nginx
|
||||||
|
x nginx
|
||||||
|
y nginx
|
||||||
|
z nginx
|
||||||
|
A nginx
|
||||||
|
B nginx
|
||||||
|
C nginx
|
||||||
|
D nginx
|
||||||
|
E nginx
|
||||||
|
F nginx
|
||||||
|
G nginx
|
||||||
|
H nginx
|
||||||
|
I nginx
|
||||||
|
J nginx
|
||||||
|
K nginx
|
||||||
|
L nginx
|
||||||
|
M nginx
|
||||||
|
N nginx
|
||||||
|
O nginx
|
||||||
|
P nginx
|
||||||
|
Q nginx
|
||||||
|
R nginx
|
||||||
|
S nginx
|
||||||
|
T nginx
|
||||||
|
U nginx
|
||||||
|
V nginx
|
||||||
|
W nginx
|
||||||
|
X nginx
|
||||||
|
Y nginx
|
||||||
|
Z nginx
|
Loading…
x
Reference in New Issue
Block a user