Open SuperDarius-git opened 1 year ago
Hi!
This was introduced with the update to django 4.0 (https://github.com/wger-project/wger/issues/1203) and unfortunately we can't automatically avoid this. The good news is that this is only a single config change, just add to the env file CSRF_TRUSTED_ORIGINS=https://fit.super.org.za
and any other domains and IPs, etc under which the application should be reached (there's a bit more info in the readme now)
Unfortunately I'm running into this issue as well, simply for having changed the http port from 80. I run many services on my machine by which I only access through secure vpn, so I do not desire https nor reverse proxy.
It is most convenient when docker images don't assume to be externally accessed from port 80. In the docker compose, normally I expect that changing "80:80"
to "<available-port>:80"
won't cause issues. Wger is far from the first to misbehave when I do this, though :)
I tried following the instructions in the readme, but since I am not running a reverse proxy, they do not work for me.
sadly there isn't much we can do. You say that adding your IP/port, etc to the setting doesn't work? You can also change the debug setting to true, then it will show you which origin it has problems with (I also think this is whown in the logs as well, but I'm not completely sure)
Good day
I am trying to login and start using my wger Docker installation, but if I login with credentials username: admin password: adminadmin, it gives me the following error:
I have no idea what that means.
The following comes with the error when DEBUG is equal to TRUE:
This is my Docker-Compose file:
NGINX.conf file:
The prod.env file:
wger server container logs:
wger Nginx container logs:
wger db container logs:
PLEASE HELP!