Open c157fl opened 1 year ago
After update to Django >= 4.0 we need to set CSRF_TRUSTED_ORIGIN
. Please add it as env variable to be set.
I am encountering the same issue, and can't find the setting.py file mentioned in Stack Overflow which file should add CSRF_TRUSTED_ORIGINS
?
Hi @fightpf,
Here is settings.py file https://github.com/mljar/mercury/blob/main/mercury/server/settings.py
@pplonski Thank you for your response, it is helpful to me!
As requested on
https://github.com/mljar/mercury/issues/299
Created a settings.py in the folder where mercury runs with:
And also added same for:
Even though not proper but wanted to see if it would be possible to do a quick fix.
I'm running mercury as mercury run 0.0.0.0:8000 --verbose in a docker container attached to nginx proxy manager.