Skip to content

Commit 900ac14

Browse files
committed
fix haproxy config
Signed-off-by: Simon L <[email protected]>
1 parent 8cb1d41 commit 900ac14

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Containers/docker-socket-proxy/haproxy.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ defaults
77

88
frontend http
99
mode http
10-
bind :2375
10+
bind :::2375 v4v6
1111
http-request deny unless { src 127.0.0.1 } || { src ::1 } || { src NC_IPV4_PLACEHOLDER } || { src NC_IPV6_PLACEHOLDER }
1212
# container inspect: GET containers/%s/json
1313
http-request allow if { path,url_dec -m reg -i ^(/v[\d\.]+)?/containers/nc_app_[a-zA-Z0-9_.-]+/json } METH_GET

0 commit comments

Comments
 (0)