Skip to content

Commit

Permalink
Merge pull request #298 from alphagov/deny-crawler-non-prod
Browse files Browse the repository at this point in the history
Deny web crawlers from scraping non production environments
  • Loading branch information
kentsanggds authored Sep 17, 2024
2 parents 715d74a + 8d4f415 commit 2bac5b0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions charts/app-of-apps/values-production.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ ckanHelmValues:
enabled: true
name: ckan
iamRoleARN: arn:aws:iam::172025368201:role/ckan-govuk
nginx:
denyCrawlers: false
pycsw:
replicaCount: 1
args: ["gunicorn --bind 0.0.0.0:8000 wsgi:application --timeout 120"]
Expand Down
2 changes: 1 addition & 1 deletion charts/ckan/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ ckan:
create: true
name: ""
extraVolumeMounts: []
denyCrawlers: false
denyCrawlers: true
safelist:
# Used by: ckan.publishing.service.gov.uk
# Used for: internationalisation of form controls
Expand Down

0 comments on commit 2bac5b0

Please sign in to comment.