feat(haproxy): ship trusted-proxy source lists for header gating
This commit is contained in:
1 parent
77b8cb029b
commit
af9fb1d2f0
4 files changed
+51
No files matched your search
@@ -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 &
|
||||
|
||||
|
||||
Reference in new issue
Block a user