Files
2026-06-11 03:22:12 -04:00

7 lines
252 B
Python

CSRF_TRUSTED_ORIGINS = ["https://pgmanage.rentaldrivego.ma"]
ALLOWED_HOSTS = ["pgmanage.rentaldrivego.ma"]
SECURE_PROXY_SSL_HEADER = ("HTTP_X_FORWARDED_PROTO", "https")
USE_X_FORWARDED_HOST = True
SESSION_COOKIE_SECURE = True
CSRF_COOKIE_SECURE = True