Can I pass through Nginx to Traefik and Docker Swarm?

I began my homelab/selfhosting journey with a single server and Proxmox. I have several LXCs and VMs there, and I reverse proxy them using an LXC with Nginx (the full one, not NPM). I am happy with Proxmox and how things are setup there, but would also like to make use of Docker Swarm to try out some other services. I've created a VM on the Proxmox server to serve as one of the Docker swarm nodes, and acquired two Dell Optiplex MFF PCs to serve as the other two. I've followed all the preparation steps in the Geek Cookbook and have the swarm setup and working as per the instructions. Reading through the Essentials section concerning the setup of Traefik on the swarm, I'm fairly sure I'm going to have to make some adjustments and deviate from the instructions as I don't quite see how it will work in my setup. For example, I'm not sure that with Nginx forwarding on to Traefik that the two layers of reverse proxying would play very nicely together, or how Traefik and Authelia/Authentik/Keycloak on the swarm would be able to provide authentication to services hosted in Proxmox. I'm not expecting anyone to rewrite all the instructions for my specific infrastructure choices, and I'm happy to learn, but if anyone could please explain, in a general sense, the kinds of changes I would need to make to suit this setup, and direct me to the resources I should look at for this situation I would be very grateful. Happy to clarify anything if needed.
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server