-
-
Notifications
You must be signed in to change notification settings - Fork 128
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] admin overview page header security warnings #463
Comments
Have you updated the nginx.conf file that's mentioned in the logs you've provided? |
Here is the content from /srv/nextcloud/config/nginx/site-confs/default.conf
|
me too:
i perform a security check that says A+ |
Same here, I updated my default.conf file, and have the same 'add headers' in this file as @tincanfury has, but am getting a similar/the same list of errors on the Nextcloud admin overview: Some headers are not set correctly on your instance - The |
ill start with, the nextcloud admin panel is almost always wrong. as tomspatz noted a real quality scan reveals there is no issue. you need to confirm your confs are up to date in both nextcloud AND in swag. |
closing due to no response from OP |
Is there an existing issue for this?
Current Behavior
Some headers are not set correctly on your instance - The
X-Content-Type-Options
HTTP header is not set tonosniff
. This is a potential security or privacy risk, as it is recommended to adjust this setting accordingly. - TheX-Frame-Options
HTTP header is not set tosameorigin
. This is a potential security or privacy risk, as it is recommended to adjust this setting accordingly. - TheX-XSS-Protection
HTTP header does not contain1; mode=block
. This is a potential security or privacy risk, as it is recommended to adjust this setting accordingly. - TheReferrer-Policy
HTTP header is not set tono-referrer
,no-referrer-when-downgrade
,strict-origin
,strict-origin-when-cross-origin
orsame-origin
. This can leak referer information. See the W3C Recommendation. - TheStrict-Transport-Security
HTTP header is not set (should be at least15552000
seconds). For enhanced security, it is recommended to enable HSTS. For more details see the documentation ↗.Expected Behavior
No response
Steps To Reproduce
update to latest, and not I'm getting this at
https://URL.com/nextcloud/settings/admin/overview
Environment
CPU architecture
x86-64
Docker creation
Container logs
The text was updated successfully, but these errors were encountered: