Skip to content
This repository has been archived by the owner on Jan 29, 2025. It is now read-only.

Commit

Permalink
Merge pull request #496 from Osmose/hsts-year
Browse files Browse the repository at this point in the history
#286: Set HSTS to 1 year.
  • Loading branch information
Mike Cooper authored Feb 8, 2017
2 parents 1e211a2 + 3631569 commit 8ce7ff1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion recipe-server/normandy/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ class Production(Base):
USE_X_FORWARDED_HOST = values.BooleanValue(True)
SECURE_PROXY_SSL_HEADER = values.TupleValue(('HTTP_X_FORWARDED_PROTO', 'https'))
LOGGING_USE_JSON = values.Value(True)
SECURE_HSTS_SECONDS = values.IntegerValue(15768000) # Six months
SECURE_HSTS_SECONDS = values.IntegerValue(31536000) # 1 year


class ProductionReadOnly(Production):
Expand Down

0 comments on commit 8ce7ff1

Please sign in to comment.