diff --git a/infra/ansible/roles/django/templates/tournesol.j2 b/infra/ansible/roles/django/templates/tournesol.j2 index 6905e66b4a..41d03225d2 100644 --- a/infra/ansible/roles/django/templates/tournesol.j2 +++ b/infra/ansible/roles/django/templates/tournesol.j2 @@ -99,7 +99,7 @@ server { location = /robots.txt { add_header Content-Type text/plain; - return 200 "User-agent: *\nDisallow: /\n"; + return 200 "User-agent: *\nDisallow: /\nAllow: /preview/\nDisallow: /preview/w/index.php\n"; } location /static/ {