diff --git a/lb-common/overlay/opt/frontend/config/common/haproxy_swamid.j2 b/lb-common/overlay/opt/frontend/config/common/haproxy_swamid.j2 index 9574e58..18cf7f8 100644 --- a/lb-common/overlay/opt/frontend/config/common/haproxy_swamid.j2 +++ b/lb-common/overlay/opt/frontend/config/common/haproxy_swamid.j2 @@ -9,6 +9,9 @@ frontend {{ site_name }} timeout http-request 10s timeout http-keep-alive 4s + + http-request return status 200 content-type "text/plain" file "/opt/frontend/config/common/robots.txt" hdr "cache-control" "no-cache" if { path /robots.txt } + option forwardfor http-request set-header X-Forwarded-Proto https