Disallow robots

This commit is contained in:
Johan Wassberg 2025-05-14 13:04:07 +02:00
parent 814082e10c
commit 263aaaef9f
Signed by: jocar
GPG key ID: BE4EC2EEADF2C31B

View file

@ -15,6 +15,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
http-request set-header client-cert %{+Q}[ssl_c_der,base64]