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

Commit 4bd4164

Browse files
Enable HTTP to HTTPS redirects (#51)
1 parent 41f264d commit 4bd4164

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pycascades/settings/production.py

+4
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,8 @@
3131
AWS_STORAGE_BUCKET_NAME = "pycascades-cms-files"
3232
AWS_S3_ENDPOINT_URL = "https://sfo2.digitaloceanspaces.com"
3333

34+
# HTTP to HTTPS redirect
35+
# https://github.com/pycascades/pycascades-cms/issues/46
36+
SECURE_SSL_REDIRECT = True
37+
3438
django_heroku.settings(locals())

0 commit comments

Comments
 (0)