Выполнить лабораторную 7 по безопасности мессенджера
Application HTTPS smoke / smoke (pull_request) Blocked by required conditions
Skeleton contracts / contracts (pull_request) Blocked by required conditions

This commit is contained in:
2026-12-04 23:51:24 +03:00
parent 20afc2c790
commit 65bbf3224a
86 changed files with 6376 additions and 144 deletions
+16
View File
@@ -0,0 +1,16 @@
global
maxconn 128
defaults
mode http
timeout connect 2s
timeout client 15s
timeout server 15s
listen loki
bind :3100 ssl ssl-min-ver TLSv1.2 no-tls-tickets crt /run/identity/service.pem ca-file /run/identity/ca.crt verify required
acl collector ssl_c_s_dn(cn) -m str collector
acl reader ssl_c_s_dn(cn) -m str grafana
acl ingest path -m str /otlp/v1/logs
acl query path_beg /loki/api/v1/query /loki/api/v1/labels /loki/api/v1/label/ /loki/api/v1/series /loki/api/v1/index/
http-request allow if collector ingest METH_POST
http-request deny unless reader query METH_GET
server local 127.0.0.1:13100