diff --git a/example-data-and-configs/HAProxy/haproxy.cfg b/example-data-and-configs/HAProxy/haproxy.cfg index 14704e91..27e03db2 100644 --- a/example-data-and-configs/HAProxy/haproxy.cfg +++ b/example-data-and-configs/HAProxy/haproxy.cfg @@ -36,7 +36,7 @@ frontend www-https http-response set-header X-Content-Type-Options nosniff http-response set-header Cache-Control "max-age=0, no-cache, no-store, must-revalidate" bind :::443 v4v6 ssl crt /etc/letsencrypt/live/haproxy.pem - reqadd X-Forwarded-Proto:\ https + http-request add-header X-Forwarded-Proto https # modify the paths below to match your c2 channel acl path_stage1 path -m beg /s1 acl path_cs path -m beg /cs @@ -63,7 +63,7 @@ frontend www-http http-response set-header X-Content-Type-Options nosniff http-response set-header Cache-Control "max-age=0, no-cache, no-store, must-revalidate" bind :::80 v4v6 - reqadd X-Forwarded-Proto:\ http + http-request add-header X-Forwarded-Proto http # modify the paths below to match your c2 channel acl path_stage1 path -m beg /s1 acl path_cs path -m beg /cs