Skip to content

Commit e8c91a2

Browse files
saramonzonluissian
authored andcommittedJan 17, 2024
added setting for https forwading
1 parent 08504ca commit e8c91a2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed
 

‎conf/template_settings.txt

+3
Original file line numberDiff line numberDiff line change
@@ -192,3 +192,6 @@ CRONTAB_COMMAND_SUFFIX = "2>&1"
192192

193193
DEFAULT_AUTO_FIELD = "django.db.models.AutoField"
194194
DATA_UPLOAD_MAX_MEMORY_SIZE = 7000000
195+
196+
# Needed when using a proxy for https forwading
197+
SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https')

0 commit comments

Comments
 (0)