Реализовать лабораторную 7: mTLS, OpenBao и защита worker

This commit is contained in:
wpyatzy
2026-12-04 20:35:40 +03:00
parent 20afc2c790
commit 1b865eac83
146 changed files with 9552 additions and 87 deletions
+29
View File
@@ -0,0 +1,29 @@
global
log stdout format raw local0
nbthread 1
maxconn 256
hard-stop-after 5s
defaults
mode tcp
timeout connect 3s
timeout client 45s
timeout server 45s
retries 0
resolvers docker
nameserver dns 127.0.0.11:53
hold valid 1s
hold obsolete 1s
frontend in_13200
bind :13200 ssl crt /run/identity/service.pem ssl-min-ver TLSv1.2 ca-file /run/trust/ca.crt crl-file /run/trust/revoked.crl verify required
tcp-request content reject unless { ssl_c_s_dn(CN) -m str grafana operator }
default_backend local_13200
backend local_13200
server native 127.0.0.1:3200
frontend in_14317
bind :14317 ssl crt /run/identity/service.pem ssl-min-ver TLSv1.2 ca-file /run/trust/ca.crt crl-file /run/trust/revoked.crl verify required alpn h2
tcp-request content reject unless { ssl_c_s_dn(CN) -m str collector operator }
default_backend local_14317
backend local_14317
server native 127.0.0.1:4317