add level 3
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
global
|
||||
log stdout format raw local0
|
||||
|
||||
defaults
|
||||
mode http
|
||||
log global
|
||||
timeout connect 2s
|
||||
timeout client 30s
|
||||
timeout server 30s
|
||||
|
||||
frontend internal_mtls
|
||||
bind :8444 ssl crt /run/secrets/api.pem ca-file /run/secrets/ca.crt verify required ssl-min-ver TLSv1.2
|
||||
http-request deny unless { ssl_c_s_dn(OU) -m str load-balancer } { ssl_c_s_dn(CN) -m str lb }
|
||||
default_backend local_api
|
||||
|
||||
backend local_api
|
||||
server app 127.0.0.1:8080
|
||||
Reference in New Issue
Block a user