I am a beginner using Zammad, and I installed it via Portainer in a Docker container setup. The Zammad container is running inside Portainer, and I am using Nginx on the host machine as a reverse proxy. After installation, I encountered the following issues:
*after initial setup zammad I cannot login anymore .When accessing Zammad via the browser, I keep getting the error message “CSRF token verification failed!”.
ALSO
- The container
zammad-zammad-init-1
keeps failing, even after restarting it. This is blocking further setup and troubleshooting.
For information Zammad is via portainer but
I set up Nginx on the host machine as a reverse proxy to forward requests to the Zammad container.
- The Nginx configuration was tested and reloaded successfully. I ensured to use the correct headers, such as
X-Forwarded-Proto
andX-Forwarded-For
, and SSL configuration via Certbot. I added a specific configuration for WebSocket support:
nginx
Copy code
location /ws {
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "Upgrade";
proxy_set_header CLIENT_IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto https;
proxy_read_timeout 86400;
proxy_pass http://zammad-websocket;
}
- However, I received an error about the
zammad-websocket
being unknown. I changed it to use127.0.0.1
, but the problem persists.
the Zammad init container (zammad-zammad-init-1
) keeps failing, even after restarting inside Portainer.
I would appreciate any guidance or suggestions on how to fix the configuration, or if there’s a way to troubleshoot the container failure more effectively.
Thank you for your help!