ЛР 7: mTLS, OpenBao и проверка компрометации worker

This commit is contained in:
celis
2026-11-13 04:25:27 +03:00
parent 20afc2c790
commit 1991fcd737
114 changed files with 11918 additions and 127 deletions
+19
View File
@@ -0,0 +1,19 @@
global
nbthread 2
log stdout format raw local0 notice
ssl-default-bind-options ssl-min-ver TLSv1.2 no-tls-tickets
defaults
mode http
timeout connect 1s
timeout client 10s
timeout server 10s
frontend otlp
bind :4318 ssl crt /run/identity/tls.pem ca-file /run/tls/ca.crt crl-file /run/pki/crl.pem verify required
http-request deny unless { ssl_c_s_dn(CN) -m reg ^(api|worker-[0-9a-f]{8})$ }
http-request deny unless { method POST } { path -m str /v1/traces /v1/metrics /v1/logs }
default_backend collector
backend collector
server local 127.0.0.1:14318