File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -50,7 +50,12 @@ frontend docker_engine
5050 http-request allow if { path,url_dec -m reg -i ^(/v[\d\.]+)?/containers/nc_app_[a-zA-Z0-9_.-]+/((start)|(stop)) } METH_POST
5151 # container rm: DELETE containers/%s
5252 http-request allow if { path,url_dec -m reg -i ^(/v[\d\.]+)?/containers/nc_app_[a-zA-Z0-9_.-]+ } METH_DELETE
53-
53+ # container update/exec: POST containers/%s/update containers/%s/exec
54+ http-request allow if { path,url_dec -m reg -i ^(/v[\d\.]+)?/containers/nc_app_[a-zA-Z0-9_.-]+/((update)|(exec)) } METH_POST
55+ # container put: PUT containers/%s/archive
56+ http-request allow if { path,url_dec -m reg -i ^(/v[\d\.]+)?/containers/nc_app_[a-zA-Z0-9_.-]+/archive } METH_PUT
57+ # run exec instance: POST exec/%s
58+ http-request allow if { path,url_dec -m reg -i ^(/v[\d\.]+)?/exec/[a-zA-Z0-9_.-]+/start } METH_POST
5459
5560 # container create: POST containers/create?name=%s
5661 # ACL to restrict container name to nc_app_[a-zA-Z0-9_.-]+
You can’t perform that action at this time.
0 commit comments