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
48
48
http-request deny unless METH_GET || { env(POST) -m bool }
49
49
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 }
50
50
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 }
52
52
http-request allow if { path,url_dec -m reg -i ^(/v[\ d\ .]+)?(/\ w+)?/auth } { env(AUTH) -m bool }
53
53
http-request allow if { path,url_dec -m reg -i ^(/v[\ d\ .]+)?(/\ w+)?/build } { env(BUILD) -m bool }
54
54
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