How to expose Zammad only locally to nginx reverse proxy on the VM.

  • Used Zammad version: =6.5.0-75
  • Used Zammad installation type: Docker Compose
  • Operating system: Ubuntu 24.04 LTS
  • Browser + version: Firefox

Expected behavior:

Im trying to only expose the 8080 Port locally so that the Zammad Webservice can be accessed via the Nginx Reverse Proxy + Certificate via Webbrowser under the given URL and not via the IP of the Virtual Machine on the LAN under Port 8080. I tried setting the
“NGINX_EXPOSE_PORT=” to nothing in the .env.dist file or using a docker-compose.override.yml but this didn’t work.

Actual behavior:

The self hosted Zammad Website can be both accessed by the given URL with Certificate and the Local IP http://X.X.X.X:8080 on the LAN.

Many thanks :slight_smile: