Выполнить лабораторную 7 по безопасности мессенджера
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
global
|
||||
maxconn 128
|
||||
defaults
|
||||
mode http
|
||||
timeout connect 2s
|
||||
timeout client 15s
|
||||
timeout server 15s
|
||||
listen prometheus
|
||||
bind :9090 ssl ssl-min-ver TLSv1.2 no-tls-tickets crt /run/identity/service.pem ca-file /run/identity/ca.crt verify required
|
||||
acl query_path path_beg /api/v1/query /api/v1/label /api/v1/series /api/v1/metadata /api/v1/status/
|
||||
http-request deny unless { ssl_c_s_dn(cn) -m str grafana } query_path METH_GET
|
||||
server local 127.0.0.1:19090
|
||||
Reference in New Issue
Block a user