forked from mtusi2026/mtusi2026lab7
ЛР 7 — БВТ2302 — Макаренко — TLS и управление секретами
This commit is contained in:
+15
@@ -0,0 +1,15 @@
|
||||
global
|
||||
nbthread 1
|
||||
|
||||
defaults
|
||||
mode tcp
|
||||
timeout check 3s
|
||||
timeout connect 3s
|
||||
timeout client 90s
|
||||
timeout server 90s
|
||||
frontend encrypted
|
||||
bind *:8443 ssl crt /certs/api.pem ca-file /certs/ca.crt verify required
|
||||
tcp-request content reject unless { ssl_c_s_dn(cn) -m str balancer }
|
||||
default_backend local_service
|
||||
backend local_service
|
||||
server local 127.0.0.1:8080
|
||||
Reference in New Issue
Block a user