summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-sql
diff options
context:
space:
mode:
authorDaniel KT <dan@koumbit.org>2019-09-25 16:56:53 -0400
committerDaniel KT <dan@koumbit.org>2019-09-25 16:56:53 -0400
commit4590a2380efb49da0a4fdb60890537ebc408b31e (patch)
tree5eb81c33e22e237a6a46097e8e2ae109859cda04 /pkgs/development/python-modules/python-sql
parent99b12cfc0818892f74d2f7fe22b9f34b93014915 (diff)
nixos/nextcloud: add Strict-Transport-Security
This commit adds a Strict-Transport-Security header to the nginx config file generated by the nextcloud module. The Strict-Transport-Security header is recommended in official guide for hardening Nextcloud installations: https://docs.nextcloud.com/server/16/admin_manual/installation/harden_server.html Further, if it is not set, we see a warning in the security scan results in the Nextcloud admin panel: ``` 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 ```
Diffstat (limited to 'pkgs/development/python-modules/python-sql')
0 files changed, 0 insertions, 0 deletions