Caddy in reverse proxy and Nginx as front-end

It helped me. :slightly_smiling_face:

  • extract from my .env file configuration
VERSION=0.7.27
EXTERNAL_URL=http://localhost:81

# [...]

TLS_OPTS="tls internal {
                on_demand
              }"
  • extract from my docker-compose.yml file configuration
# Comment on the block of lines about caddy service

# ...

firezone:
    image: firezone/firezone:${VERSION:-latest}
    ports:
      - ${WIREGUARD_PORT:-51820}:${WIREGUARD_PORT:-51820}/udp
      - 127.0.0.1:81:13000                                        # ADD THIS LINE

Then configure your Nginx files in reverse proxy on 127.0.0.1:81.