fix: port conflict

This commit is contained in:
DDSRem
2023-09-09 10:44:05 +08:00
parent 933c6d838c
commit 0136d9fe06
5 changed files with 5 additions and 4 deletions

View File

@ -50,7 +50,7 @@ backend dockerbackend
server dockersocket /var/run/docker.sock
frontend dockerfrontend
bind :2375
bind :38379
http-request deny unless METH_GET || { env(POST) -m bool }
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 }
http-request allow if { path,url_dec -m reg -i ^(/v[\d\.]+)?/containers } { env(CONTAINERS) -m bool }