SSO Header with Docker

Infos:

  • Used Zammad version: 6.3.1
  • Used Zammad installation type: docker compose
  • Operating system: Debian
  • Browser + version: Edge

Expected behavior:

zammad-nginx respects config file changes so that the soo header edits can persist.

I have added a volume to store the nginx config on the host so that it will persist between container restarts.

Actual behavior:

When the docker container is restarted the zammad-nginx command overwrites the config file with the original, removing the required edits for SSO.

Steps to reproduce the behavior:

  1. mount a volume to zammad-nginx for your config.
  2. edit the config in any way.
  3. restart the container.

I’ve been able to work around this with a bit of a bodge.

I’ve mounted /opt/zammad/contrib/nginx to a folder on the host that contains the edited zammad.conf which is then used by the script to generate teh config for nginx.

A bit of a round about way of doing it. I’d suggest the docker container needs to have a environment variable added so we can set the header name that contains the remote user for SSO.

This topic was automatically closed 360 days after the last reply. New replies are no longer allowed.