Ensure we can serve images securely locally

This commit is contained in:
Eliot Berriot 2018-06-02 09:17:32 +02:00
parent 5ebaa884c1
commit 14c8073e26
No known key found for this signature in database
GPG key ID: DD6965E2476E5C27
4 changed files with 5 additions and 4 deletions

View file

@ -22,10 +22,6 @@ from .common import * # noqa
# Raises ImproperlyConfigured exception if DJANGO_SECRET_KEY not in os.environ
SECRET_KEY = env("DJANGO_SECRET_KEY")
# This ensures that Django will be able to detect a secure connection
# properly on Heroku.
SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https')
# django-secure
# ------------------------------------------------------------------------------
# INSTALLED_APPS += ("djangosecure", )