feat: complete lab 7 for grade 4

This commit is contained in:
sashadugina06
2026-12-04 13:55:32 +03:00
parent 20afc2c790
commit 11390b65fd
91 changed files with 10163 additions and 50 deletions
+17
View File
@@ -0,0 +1,17 @@
global
tune.ssl.cachesize 0
defaults
mode http
timeout connect 1s
timeout client 60s
timeout server 60s
retries 0
frontend api
bind :8444 ssl crt /run/identity/server.pem ca-file /run/trust/ca.crt crl-file /run/trust/ca.crl verify required no-tls-tickets ssl-min-ver TLSv1.2
http-request deny unless { ssl_c_s_dn(cn) -m str lb-to-api }
default_backend uvicorn
backend uvicorn
server local unix@/run/api/api.sock