Add TCP proxy for tcp over http connections
This commit is contained in:
@@ -8,8 +8,8 @@ frontend http-in
|
||||
bind *:8080
|
||||
|
||||
acl host_localhost hdr(host) localhost
|
||||
acl host_pwd1 hdr_reg(host) -i ^.*\.?host1\.localhost$
|
||||
acl host_pwd2 hdr_reg(host) -i ^.*\.?host2\.localhost$
|
||||
acl host_pwd1 hdr_reg(host) -i ^.*\.?host1\.localhost?:?.*$
|
||||
acl host_pwd2 hdr_reg(host) -i ^.*\.?host2\.localhost?:?.*$
|
||||
|
||||
use_backend all if host_localhost
|
||||
use_backend pwd1 if host_pwd1
|
||||
|
||||
Reference in New Issue
Block a user