mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-04 15:29:22 +02:00
Ensure we can serve images securely locally
This commit is contained in:
parent
5ebaa884c1
commit
14c8073e26
4 changed files with 5 additions and 4 deletions
|
@ -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", )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue