mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-04 00:59:15 +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
|
@ -303,6 +303,9 @@ ROOT_URLCONF = 'config.urls'
|
|||
WSGI_APPLICATION = 'config.wsgi.application'
|
||||
ASGI_APPLICATION = "config.routing.application"
|
||||
|
||||
# This ensures that Django will be able to detect a secure connection
|
||||
SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https')
|
||||
|
||||
# AUTHENTICATION CONFIGURATION
|
||||
# ------------------------------------------------------------------------------
|
||||
AUTHENTICATION_BACKENDS = (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue