diff --git a/states/haproxy/templates/haproxy.cfg.j2 b/states/haproxy/templates/haproxy.cfg.j2 index de8371d..f7e1aae 100644 --- a/states/haproxy/templates/haproxy.cfg.j2 +++ b/states/haproxy/templates/haproxy.cfg.j2 @@ -261,7 +261,7 @@ frontend fe_https from {{ haproxy.config.namespace }} ## Returns http-request return status 200 content-type text/plain string "User-agent: *\r\nAllow: /" if robots_txt - http-request return status 200 content-type text/plain string "Contact: mailto:{{ haproxy.config.syscontact }}" if security_txt + http-request return status 200 content-type text/plain lf-file /etc/haproxy/static/security.txt if security_txt http-request return status 200 content-type "text/html; charset=utf-8" lf-string "host: %H
country: %[var(proc.country)]
date: %[var(txn.httpdate)]
src: %[var(req.src)]
srchash: %[var(txn.srchash)]" if self_host path_info ## Headers