Skip to content

Commit 3293f54

Browse files
Zuulopenstack-gerrit
authored andcommitted
Merge "Deny access to server-status via single frontend" into stable/2025.1
2 parents e40b2be + 290b688 commit 3293f54

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

ansible/roles/loadbalancer/templates/haproxy/haproxy_external_frontend.cfg.j2

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,4 @@ frontend external_frontend
99
http-request set-header X-Forwarded-Proto https if { ssl_fc }
1010
bind {{ kolla_external_vip_address }}:{{ haproxy_external_single_frontend_public_port }} {{ external_tls_bind_info }}
1111
use_backend %[req.hdr(host),lower,map_dom(/etc/haproxy/external-frontend-map,{{ haproxy_external_single_frontend_default_backend }})]
12+
http-request deny if { path -i -m beg /server-status }
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
security:
3+
- |
4+
Deny access to /server-status via the single frontend.
5+
`LP#2121626 <https://bugs.launchpad.net/kolla-ansible/+bug/2121626>`__

0 commit comments

Comments
 (0)