Level 2
June 2, 2025
Security Headers works in dev and stage environments, but does not work in Production.
- June 2, 2025
- 3 replies
- 1511 views
Hello!
I need to implement Security Headers in the PROD environment, but it is not working, but it works in the developer and stage environments.
I use the website https://securityheaders.com/ to validate if the Headers are working and it returns a grade of F (no headers implemented) in the prod url, but returns a grade of A (excellent implementation) in the dev and stage publish links.
All my backend files in the dev, stage and prod environments are the same, with the same implementations, but the headers only appear in the dev and stage publish, they do not appear in the Prod environment.