[Solved]-Django admin panel deploy on server Forbidden (403) CSRF verification failed. Request aborted

20👍

I found a solution. The fact is that in Django 4.0 you need to add
CSRF_TRUSTED_ORIGINS=['https://*.YOUR_DOMAIN.COM'] to settings.py

Thanks to Zeedia:

Leave a comment