CSRF Failed: Origin checking failed
After version 1.78 if running Valispace behind a reverse proxy, it’s possible to get the following error:
CODE
CSRF Failed: Origin checking failed - https://[domain] does not match any trusted origins.
To resolve the problem without modifying NGINX configurations in client side, this needs to be done:
cd /var/valispace/docker
echo 'SECURE_PROXY_SSL_HEADER = ("HTTP_X_FORWARDED_PROTO", "http")' >> valispace_local_settings.py
./valispace-manager.sh restart