feat(haproxy): ship trusted-proxy source lists for header gating

This commit is contained in:
shadowdao committed 2026-08-13 13:23:52 -07:00
1 parent 77b8cb029b
commit af9fb1d2f0
4 files changed
+51

No files matched your search

+2
View File
@@ -21,6 +21,8 @@ set -eo pipefail
mkdir -p /etc/haproxy
[ -f /etc/haproxy/trusted_ips.list ] || : > /etc/haproxy/trusted_ips.list
[ -f /etc/haproxy/trusted_ips.map ] || : > /etc/haproxy/trusted_ips.map
[ -f /etc/haproxy/cloudflare_ips.list ] || : > /etc/haproxy/cloudflare_ips.list
[ -f /etc/haproxy/trusted_proxies.list ] || : > /etc/haproxy/trusted_proxies.list
cron &