Защитить мессенджер TLS и OpenBao и проверить отзыв прав worker
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
listen prometheus
|
||||
mode http
|
||||
bind :9090 ssl crt /run/tls/server/service.pem verify required ca-file /run/tls/trust/ca.crt crl-file /run/tls/trust/revoked.crl
|
||||
acl allowed_identity ssl_c_s_dn(CN) -m str grafana-client
|
||||
http-request deny unless allowed_identity
|
||||
http-request deny unless { path_beg /api/v1/ /-/ready }
|
||||
http-request deny if { path_beg /api/v1/admin/ }
|
||||
server local 127.0.0.1:19090
|
||||
Reference in New Issue
Block a user