Issues when tryin to deploy using Nginx and Docker?

I’m deploying my backend using Nginx and Docker (containerized DRF app), but I’m encountering an issue when trying to access the admin panel. I get the following error: "403 Forbidden – CSRF verification failed. Request aborted."

To fix this, I reviewed my configuration and added some parameters to my settings.py file, ensuring that CSRF_TRUSTED_ORIGINS is pointing to the correct domain but unforthunately didn't fix the problem, any hints ?

Вернуться на верх