We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2e822ad commit faae61dCopy full SHA for faae61d
kobo/settings/base.py
@@ -45,6 +45,9 @@
45
SESSION_COOKIE_SECURE = True
46
CSRF_COOKIE_SECURE = True
47
48
+# These HSTS settings are sometimes overriden via nginx like in the `kobo-helm-chart`
49
+# repository or by the AWS ALB/Azure app gateway. If you see the header returned
50
+# with other values, check these places first
51
SECURE_HSTS_INCLUDE_SUBDOMAINS = env.bool('SECURE_HSTS_INCLUDE_SUBDOMAINS', False)
52
SECURE_HSTS_PRELOAD = env.bool('SECURE_HSTS_PRELOAD', False)
53
SECURE_HSTS_SECONDS = env.int('SECURE_HSTS_SECONDS', 0)
0 commit comments