This commit is contained in:
Ross
2021-03-18 23:17:16 +00:00
parent db4f43569e
commit cd30e7c26d
+1 -1
View File
@@ -148,7 +148,7 @@ USE_TZ = True
# Static files (CSS, JavaScript, Images)
# https://docs.djangoproject.com/en/1.11/howto/static-files/
#SECURE_SSL_REDIRECT = True
SECURE_SSL_REDIRECT = True
SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https')
STATIC_URL = '/static/'