mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-19 22:16:49 +00:00
feat: add image inspect rule
Signed-off-by: Andrey Borysenko <andrey18106x@gmail.com>
This commit is contained in:
parent
1c4fa05601
commit
5b5f49b00b
1 changed files with 2 additions and 0 deletions
|
|
@ -14,6 +14,8 @@ frontend http
|
||||||
http-request deny unless { src 127.0.0.1 } || { src ::1 } || { src NC_IPV4_PLACEHOLDER } || { src NC_IPV6_PLACEHOLDER }
|
http-request deny unless { src 127.0.0.1 } || { src ::1 } || { src NC_IPV4_PLACEHOLDER } || { src NC_IPV6_PLACEHOLDER }
|
||||||
# docker system _ping
|
# docker system _ping
|
||||||
http-request allow if { path,url_dec -m reg -i ^(/v[\d\.]+)?/_ping$ } METH_GET
|
http-request allow if { path,url_dec -m reg -i ^(/v[\d\.]+)?/_ping$ } METH_GET
|
||||||
|
# docker inspect image: GET images/%s/json
|
||||||
|
http-request allow if { path,url_dec -m reg -i ^(/v[\d\.]+)?/images/.*/json } METH_GET
|
||||||
# container inspect: GET containers/%s/json
|
# container inspect: GET containers/%s/json
|
||||||
http-request allow if { path,url_dec -m reg -i ^(/v[\d\.]+)?/containers/nc_app_[a-zA-Z0-9_.-]+/json } METH_GET
|
http-request allow if { path,url_dec -m reg -i ^(/v[\d\.]+)?/containers/nc_app_[a-zA-Z0-9_.-]+/json } METH_GET
|
||||||
# container inspect: GET containers/%s/logs
|
# container inspect: GET containers/%s/logs
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue