Skip to content

Commit

Permalink
Set HSTS on nginx directly (covers trac too…)
Browse files Browse the repository at this point in the history
  • Loading branch information
apollo13 committed Jun 3, 2016
1 parent 6205617 commit b9bd707
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions djangoproject/settings/prod.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,6 @@

STATIC_ROOT = str(DATA_DIR.joinpath('static'))

# django-secure settings

SECURE_HSTS_SECONDS = 31536000 # 1 year

SECURE_HSTS_INCLUDE_SUBDOMAINS = True

# Docs settings
DOCS_BUILD_ROOT = DATA_DIR.joinpath('data', 'docbuilds')

Expand Down

0 comments on commit b9bd707

Please sign in to comment.