add support for HSTS and other security related HTTP headers via helmet

This commit is contained in:
jweismann
2018-11-05 16:48:16 +01:00
parent e180f8fe6e
commit 372efcac58
4 changed files with 150 additions and 7 deletions
+1
View File
@@ -266,6 +266,7 @@ To learn more about the Nightscout API, visit https://YOUR-SITE.com/api-docs.htm
* `CUSTOM_TITLE` (`Nightscout`) - Usually name of T1
* `THEME` (`default`) - possible values `default`, `colors`, or `colorblindfriendly`
* `INSECURE_USE_HTTP` (`false`) - possible values `false`, or `true`.
* `SECURE_HTTP_HEADERS` (`false`) - possible values `false`, or `true`.
* `ALARM_TIMEAGO_WARN` (`on`) - possible values `on` or `off`
* `ALARM_TIMEAGO_WARN_MINS` (`15`) - minutes since the last reading to trigger a warning
* `ALARM_TIMEAGO_URGENT` (`on`) - possible values `on` or `off`