diff --git a/cookbooks/colab/templates/00-custom_settings.py.erb b/cookbooks/colab/templates/00-custom_settings.py.erb index 4a24b23..b90f443 100644 --- a/cookbooks/colab/templates/00-custom_settings.py.erb +++ b/cookbooks/colab/templates/00-custom_settings.py.erb @@ -34,6 +34,10 @@ SISP_HOST = "<%= node['config']['sisp_external_hostname'] %>" ALLOWED_HOSTS = ["<%= node['config']['external_hostname'] %>", "<%= node['config']['sisp_external_hostname'] %>"] +<% unless node['environment'] == "prod" %> +ROBOTS_NOINDEX = True +<% end %> + ## Disable indexing ROBOTS_NOINDEX = False -- libgit2 0.21.2