test x forwareded host

This commit is contained in:
Parsa Nazer
2025-04-15 22:03:11 +03:30
parent f7e80d173e
commit aa12540eb7
+7
View File
@@ -70,3 +70,10 @@ CELERY_BEAT_SCHEDULE = {
'schedule': crontab(minute='*'),
},
}
# ==============================================================================
# to avoid gateway post problem
# ==============================================================================
USE_X_FORWARDED_HOST = True
SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https')