Hi,
I run nextcloud behind the swag server. I recognized that nextcloud shows me the following Security & setup warnings:
There are some warnings regarding your setup.
The "X-Robots-Tag" HTTP header is not set to "none". This is a potential security or privacy risk, as it is recommended to adjust this setting accordingly.
The "Strict-Transport-Security" HTTP header is not set to at least "15552000" seconds. For enhanced security, it is recommended to enable HSTS as described in the security tips ↗.
How can I solve this warnings?
Further information:
swag server: Linuxserver.io version:- 1.9.0-ls17 Build-date:- 2020-10-20T10:06:33+00:00
nextcloud: Linuxserver.io version:- 20.0.0-ls101 Build-date:- 2020-10-03T10:37:02+00:00
Thank you in advance for your help.