This commit is contained in:
Ross
2021-03-18 23:16:51 +00:00
parent 1c723b2b09
commit db4f43569e
+2 -1
View File
@@ -148,7 +148,8 @@ 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/'
STATIC_ROOT = 'static/'