We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ea893f6 commit 75d40caCopy full SHA for 75d40ca
haproxy.cfg
@@ -44,7 +44,7 @@ backend docker-events
44
timeout server 0
45
46
frontend dockerfrontend
47
- bind :2375
+ bind :::2375 v4v6
48
http-request deny unless METH_GET || { env(POST) -m bool }
49
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 }
50
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