diff --git a/templates/haproxy_cfg b/templates/haproxy_cfg index c0a61d1df74b8f491db9baf274c95f3b0f0b14c7..d8a105279858659589d65e2b4ca984b8fbaf59bb 100644 --- a/templates/haproxy_cfg +++ b/templates/haproxy_cfg @@ -52,6 +52,7 @@ userlist kibana frontend http_in bind *:80 + http-request del-header Proxy acl blockedip src -f /etc/haproxy/blacklist.ip http-request deny if blockedip acl blockedreferer hdr_sub(referer) -i -f /etc/haproxy/blacklist.referer @@ -102,6 +103,7 @@ frontend http_in frontend https_in_{{ cert.ip }} bind {{ cert.ip }}:443 ssl crt /etc/haproxy/certs/{{ cert.file }} no-sslv3 + http-request del-header Proxy acl blockedip src -f /etc/haproxy/blacklist.ip http-request deny if blockedip acl blockedreferer hdr_sub(referer) -i -f /etc/haproxy/blacklist.referer