Skip to content
This repository has been archived by the owner on Aug 16, 2024. It is now read-only.

Commit

Permalink
Enable HTTP to HTTPS redirects (#51)
Browse files Browse the repository at this point in the history
  • Loading branch information
AetherUnbound authored Feb 12, 2023
1 parent 41f264d commit 4bd4164
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pycascades/settings/production.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,8 @@
AWS_STORAGE_BUCKET_NAME = "pycascades-cms-files"
AWS_S3_ENDPOINT_URL = "https://sfo2.digitaloceanspaces.com"

# HTTP to HTTPS redirect
# https://github.com/pycascades/pycascades-cms/issues/46
SECURE_SSL_REDIRECT = True

django_heroku.settings(locals())

0 comments on commit 4bd4164

Please sign in to comment.