Our Nextcloud server is behind a nginx reverse proxy which handles https with letsencrypt. Security scan is all green and dozy:
Yet the Security & setup warnings suggests:
Some headers are not set correctly on your instance - The Strict-Transport-Security HTTP header is not set (should be at least 15552000 seconds). For enhanced security, it is recommended to enable HSTS. For more details see the documentation .