CSRF?
#1761
Replies: 1 comment
-
|
See https://wger.readthedocs.io/en/latest/production/docker.html#csrf-errors Settings |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello.
On a new install behind an nginx TLS proxy, I'm seeing a CSRF error:
Looking in the production environment file, I see this:
https://github.com/wger-project/docker/blob/ec159f0af9a49c8472fd58c6eddd81f0b15ee29e/config/prod.env#L13
There is no "deployment" section and nothing about CSRF in the documentation.
The
X-Forwarded-Protoheader is being set by nginx, but I'm not sure what the value ofCSRF_TRUSTED_ORIGINSshould be when running inside a podman container.I'm in a trusted network. Is there a way to turn off CSRF?
Beta Was this translation helpful? Give feedback.
All reactions