Add k8s styles
This commit is contained in:
@@ -5,11 +5,11 @@ defaults
|
||||
frontend http-in
|
||||
bind *:8080
|
||||
|
||||
acl host_localhost hdr(host) localhost
|
||||
acl host_direct_localhost hdr_reg(host) -i ^.*\.direct\.localhost?:?.*$
|
||||
acl host_direct hdr_reg(host) -i ^.*\.direct\..*?:?.*$
|
||||
|
||||
use_backend pwd if host_localhost
|
||||
use_backend l2 if host_direct_localhost
|
||||
use_backend l2 if host_direct
|
||||
|
||||
default_backend pwd
|
||||
|
||||
backend pwd
|
||||
server node1 pwd:3000
|
||||
|
||||
Reference in New Issue
Block a user