Skip to content

Commit 75d40ca

Browse files
authored
[IMP] Bind to IPv4 and IPv6 in haproxy (#108)
1 parent ea893f6 commit 75d40ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

haproxy.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ backend docker-events
4444
timeout server 0
4545

4646
frontend dockerfrontend
47-
bind :2375
47+
bind :::2375 v4v6
4848
http-request deny unless METH_GET || { env(POST) -m bool }
4949
http-request allow if { path,url_dec -m reg -i ^(/v[\d\.]+)?/containers/[a-zA-Z0-9_.-]+/((stop)|(restart)|(kill)) } { env(ALLOW_RESTARTS) -m bool }
5050
http-request allow if { path,url_dec -m reg -i ^(/v[\d\.]+)?/containers/[a-zA-Z0-9_.-]+/start } { env(ALLOW_START) -m bool }

0 commit comments

Comments
 (0)