File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ frontend dockerfrontend
4848 http-request deny unless METH_GET || { env(POST) -m bool }
4949 http-request allow if { path,url_dec -m reg -i ^(/v[\ d\ .]+)?(/\ w+)?/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\ .]+)?(/\ w+)?/containers/[a-zA-Z0-9_.-]+/start } { env(ALLOW_START) -m bool }
51- http-request allow if { path,url_dec -m reg -i ^(/v[\ d\ .]+)?(/\ w+)?/containers/[a-zA-Z0-9_.-]+/stop } { env(ALLOW_STOP)
51+ http-request allow if { path,url_dec -m reg -i ^(/v[\ d\ .]+)?(/\ w+)?/containers/[a-zA-Z0-9_.-]+/stop } { env(ALLOW_STOP) -m bool }
5252 http-request allow if { path,url_dec -m reg -i ^(/v[\ d\ .]+)?(/\ w+)?/auth } { env(AUTH) -m bool }
5353 http-request allow if { path,url_dec -m reg -i ^(/v[\ d\ .]+)?(/\ w+)?/build } { env(BUILD) -m bool }
5454 http-request allow if { path,url_dec -m reg -i ^(/v[\ d\ .]+)?(/\ w+)?/commit } { env(COMMIT) -m bool }
You can’t perform that action at this time.
0 commit comments