Fix typo in SECURE_PROXY_SSL_HEADER settings

This commit is contained in:
sabaimran 2024-04-09 12:33:21 +05:30
parent e56c5e67dd
commit 312528d471

View file

@ -48,7 +48,7 @@ else:
# Production Settings
SESSION_COOKIE_DOMAIN = KHOJ_DOMAIN
CSRF_COOKIE_DOMAIN = KHOJ_DOMAIN
SECURE_PROXY_SSL_HEADER = ("HTTP_X_FORWARDED_PROTOCOL", "https")
SECURE_PROXY_SSL_HEADER = ("HTTP_X_FORWARDED_PROTO", "https")
SESSION_COOKIE_SECURE = True
CSRF_COOKIE_SECURE = True