File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -44,6 +44,7 @@ Create configuration file ``/opt/local/etc/haproxy/haproxy.cfg`` with the follow
44
44
45
45
acl is_node req.fhdr(Host),map_str(/opt/local/etc/haproxy/node_domains_ports.map) -m found
46
46
acl is_node_pass_through path,map_beg(/opt/local/etc/haproxy/node_pass_through_paths.txt) -m found
47
+ acl is_admin_sa req.fhdr(X-Siteaccess) -i adminui
47
48
48
49
http-request capture req.hdr(Host) len 128
49
50
http-request capture req.fhdr(Referer) len 128
@@ -57,7 +58,7 @@ Create configuration file ``/opt/local/etc/haproxy/haproxy.cfg`` with the follow
57
58
use_backend varnish if { path -m beg /.well-known/ } { dst_port 6080 }
58
59
use_backend varnish if { path -m beg /.well-known/ } { dst_port 6443 }
59
60
60
- use_backend node if is_node !is_node_pass_through
61
+ use_backend node if is_node !is_node_pass_through !is_admin_sa
61
62
62
63
use_backend nginx if { dst_port 80 }
63
64
use_backend nginx if { dst_port 443 }
You can’t perform that action at this time.
0 commit comments