Django_web_settings.py - CSRF problem

I started deploying another reverse proxy in front of my seafile and run into an error with CSRF validation.
The documentation says:
you can add CSRF_TRUSTED_ORIGINS to django_web_settings.py to solve the problem:

CSRF_TRUSTED_ORIGINS = ["https://<your-domain>"]

Now - where do I find this config file? Or if I need to create it, where?
Thanks!

Answering my own question, I added it into seahub_settings.py nd it worked.

Thanks for reporting the issue. I have fixed it in the documents.