Skip to content

Commit b68a6bf

Browse files
fiz quic
1 parent 77a2a44 commit b68a6bf

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

roles/haproxy_lb/templates/haproxy.conf.j2

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@ global
3030
tune.ssl.default-dh-param 2048
3131

3232
{% if haproxy_lb_quic_enabled | default(false) %}
33+
# Preserve cap_net_bind_service across uid switch so the haproxy worker
34+
# can bind QUIC UDP sockets on privileged ports (443) after dropping
35+
# privileges to the haproxy user.
36+
setcap cap_net_bind_service
3337
# QUIC DDoS protection: force Retry token exchange above threshold
3438
tune.quic.retry-threshold 100
3539
{% endif %}

0 commit comments

Comments
 (0)