Skip to content

Commit 54b3c32

Browse files
committed
P7A-174: do not pass Admin UI API call to Node
1 parent 1007074 commit 54b3c32

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/source/macos/haproxy.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ Create configuration file ``/opt/local/etc/haproxy/haproxy.cfg`` with the follow
4444
4545
acl is_node req.fhdr(Host),map_str(/opt/local/etc/haproxy/node_domains_ports.map) -m found
4646
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
4748
4849
http-request capture req.hdr(Host) len 128
4950
http-request capture req.fhdr(Referer) len 128
@@ -57,7 +58,7 @@ Create configuration file ``/opt/local/etc/haproxy/haproxy.cfg`` with the follow
5758
use_backend varnish if { path -m beg /.well-known/ } { dst_port 6080 }
5859
use_backend varnish if { path -m beg /.well-known/ } { dst_port 6443 }
5960
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
6162
6263
use_backend nginx if { dst_port 80 }
6364
use_backend nginx if { dst_port 443 }

0 commit comments

Comments
 (0)