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