Hello guys, I'm struggling to eliminate this error from nextcloud:
Some headers are not set correctly on your instance - The
Strict-Transport-SecurityHTTP header is not set (should be at least15552000seconds). For enhanced security, it is recommended to enable HSTS. For more details see the documentation.
Tried adding this into labels and many more 'solutions' from internet but without luck:
labels:
- "traefik.http.middlewares.testHeader.headers.framedeny=true"
- "traefik.http.middlewares.testHeader.headers.browserxssfilter=true"
If anyone could help I would be grateful.