502 Bad Gateway after cloning LXC

Infos:

  • Used Zammad version: 6.4.1-1737033837.15b76b62.bookworm
  • Used Zammad installation type: (source, package, docker-compose, …) Proxmox LXC
  • Operating system: Debian 12
  • Browser + version: Firefox 134.0.2

Expected behavior:

go to http://my-ip or https://my-ip and see zammad login screen
*

Actual behavior:

get 502 Bad Gateway nginx when accessing by https. Get “welcome to nginx” page when accessing by http
*

Steps to reproduce the behavior:

I have a working Zammad LXC container on a proxmox server that I access with https using a self-signed cert and the servers ip address. So https://192.168.1.1 for example. I made a snapshot of the server after it was configured.

I restored that snapshot to a new LXC container to setup a “new” zammad instance for a different department. I changed the IP address in the LXC network tab in proxmox and confirmed its changed in /etc/network/interfaces and “ip addr” shows the correct IP.

I also changed the ip in the sites-available and sites-enabled zammad.conf. When I log into CLI with root it still shows the old ip address. When I try to access the new address by http or https i get the above errors. What else do I need to change? Thank you
*