Files
mtusi2026lab7/infra/tls/api1.cfg
T
ferraronp ca7515601a
Skeleton contracts / contracts (pull_request) Blocked by required conditions
feat: реализовать ЛР7 — TLS, mTLS, OpenBao и hardening
2026-11-26 19:50:38 +03:00

16 lines
543 B
INI

global
log stdout format raw local0
defaults
mode http
timeout connect 2s
timeout client 60s
timeout server 60s
frontend from_lb
bind :8443 ssl crt /run/pki/api1-tls.pem ca-file /run/pki/ca.crt crl-file /run/pki/ca.crl verify required ssl-min-ver TLSv1.2
acl trusted_identity ssl_c_s_dn(cn) -m str lab7-lb
acl trusted_san ssl_c_san -m reg (^|,)([[:space:]]*)DNS:lab7-lb($|,)
http-request deny deny_status 403 unless trusted_identity trusted_san
default_backend local_api
backend local_api
server app 127.0.0.1:8080 check