Open bombz88 opened 9 months ago
found it:
to be adapted to your npm docker:
docker exec -it npmplus nano /usr/local/nginx/conf/conf.d/include/hsts.conf
replace
more_set_headers "X-XSS-Protection: 0";
by
more_set_headers "X-XSS-Protection: 1; mode=block";
Current Behavior
Attempting to fix the following errors
**The "X-Content-Type-Options" HTTP header is not set to "nosniff". This is a potential security or privacy risk, as it is recommended to adjust this setting accordingly.
The "X-Frame-Options" HTTP header is not set to "SAMEORIGIN". This is a potential security or privacy risk, as it is recommended to adjust this setting accordingly.
The "X-XSS-Protection" HTTP header does not contain "1; mode=block". This is a potential security or privacy risk, as it is recommended to adjust this setting accordingly.**
Expected Behavior
Steps To Reproduce
Attempted the following changes in ssl.conf for NginxProxyManager
Environment
Container creation
jlesage/nginx-proxy-manager
Container log
Container inspect
No response
Anything else?
Adding NC output