Disallow bots
This commit is contained in:
parent
443431154c
commit
034cba8571
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue