forked from mtusi2026/mtusi2026lab7
Implement lab7 mTLS, scoped OpenBao secrets and worker compromise experiment
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
global
|
||||
log stdout format raw local0
|
||||
maxconn 256
|
||||
defaults
|
||||
mode http
|
||||
log global
|
||||
timeout connect 1s
|
||||
timeout client 35s
|
||||
timeout server 32s
|
||||
timeout check 1s
|
||||
timeout queue 2s
|
||||
retries 0
|
||||
option http-server-close
|
||||
resolvers docker
|
||||
nameserver dns 127.0.0.11:53
|
||||
resolve_retries 3
|
||||
timeout resolve 1s
|
||||
timeout retry 1s
|
||||
hold valid 1s
|
||||
hold obsolete 1s
|
||||
hold nx 1s
|
||||
hold timeout 1s
|
||||
frontend public
|
||||
bind :8443 ssl crt /identity/combined.pem ssl-min-ver TLSv1.2
|
||||
default_backend api
|
||||
backend api
|
||||
balance roundrobin
|
||||
option log-health-checks
|
||||
option httpchk GET /health/ready
|
||||
http-check expect status 200
|
||||
server api1 api1:8443 ssl verify required ca-file /trust/ca.crt crl-file /trust/revocations.pem crt /identity/combined.pem verifyhost api1 sni str(api1) check-sni api1 check inter 1s resolvers docker init-addr none
|
||||
server api2 api2:8443 ssl verify required ca-file /trust/ca.crt crl-file /trust/revocations.pem crt /identity/combined.pem verifyhost api2 sni str(api2) check-sni api2 check inter 1s resolvers docker init-addr none
|
||||
Reference in New Issue
Block a user