File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -28,6 +28,8 @@ frontend proxy
2828 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 }
2929 http-request allow if { path,url_dec -m reg -i ^(/v[\ d\ .]+)?/containers/[a-zA-Z0-9_.-]+/start } { env(ALLOW_START) -m bool }
3030 http-request allow if { path,url_dec -m reg -i ^(/v[\ d\ .]+)?/containers/[a-zA-Z0-9_.-]+/stop } { env(ALLOW_STOP) -m bool }
31+ http-request allow if { path,url_dec -m reg -i ^(/v[\ d\ .]+)?/containers/[a-zA-Z0-9_.-]+/pause } { env(ALLOW_PAUSE) -m bool }
32+ http-request allow if { path,url_dec -m reg -i ^(/v[\ d\ .]+)?/containers/[a-zA-Z0-9_.-]+/unpause } { env(ALLOW_RESUME) -m bool }
3133 http-request deny unless METH_GET || { env(POST) -m bool }
3234 http-request allow if { path,url_dec -m reg -i ^(/v[\ d\ .]+)?/auth } { env(AUTH) -m bool }
3335 http-request allow if { path,url_dec -m reg -i ^(/v[\ d\ .]+)?/build } { env(BUILD) -m bool }
You can’t perform that action at this time.
0 commit comments