Setting up proxy for Swarm cluster on Azure

This might be beyond the scope of this forum, but I’m hoping some generous soul can help or provide a pointer.

I’ve deployed a swarm cluster (1 manager and 1 worker) via Docker for Azure. For test purposes I’m just running a simple nginx service set with port 9080 exposed.

What I’d like to do is have this cluster fronted by an HTTPS proxy such that 443 traffic hitting the site gets routed to this swarm service. I believe this is what Azure’s Application Gateway is intended to do, so have been playing with that. So far I’ve not been able get that traffic redirected to the backend swarm service.

Anyone know of examples where this is/was successfully done for swarm?

If I can’t get the reverse proxy/SSL termination done “natively” on Azure, then I guess I could run nginx outside the cluster to do this?

Thanks,
Song

1 Like

You could try https://traefik.io/?

Hi i wanted to use azure gateway v2 for the docker swarm. Were you able to configure app gatway to do this. What did you implement finally.