I am developing a project using the Symfony 5 framework. I have deployed that code to production. When I am trying to add website to google search engine then I am getting:
Error "No: 'noindex' detected in 'X-Robots-Tag' http header"
I have changed the environment from dev to production but still I am getting the same error. I have tried to disable disallow_search index but this method is also not working
disallow_search_engine_index: false
How can change X-Robots-Tag header in Symfony 5?