From 25f9a9d668d278a8621359e02da74e12c9df20d2 Mon Sep 17 00:00:00 2001 From: daniel Date: Tue, 10 Mar 2026 16:43:11 +0100 Subject: [PATCH] Add proxy support --- proyecto/settings.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/proyecto/settings.py b/proyecto/settings.py index c13099e..d40f205 100644 --- a/proyecto/settings.py +++ b/proyecto/settings.py @@ -336,4 +336,6 @@ CELERY_RESULT_BACKEND = 'redis://localhost:6379/0' # Configuraciones adicionales recomendadas CELERY_ACCEPT_CONTENT = ['json'] CELERY_TASK_SERIALIZER = 'json' -CELERY_RESULT_SERIALIZER = 'json' \ No newline at end of file +CELERY_RESULT_SERIALIZER = 'json' + +SECURE_PROXY_SSL_HEADER = ("HTTP_X_FORWARDED_PROTO", "https") \ No newline at end of file