I currently have a docker setup in which one nginx container serves static contents for a number of wordpress sites and proxies dynamic requests to the respective php-apache containers. When I deploy a new php-apache container I just drop in a new nginx virtualhost configuration and update the service.
This setup is very simple and easy to maintain, but HTTPS certifcate issueing and renewal is a real PITA as things have to be done manually (I use zerossl/client).
Traefik seems to be a great solution for reverse proxy + HTTPS but since it's not a webserver it needs two backends to replicate the above setup, redirecting traffic to a static (nginx) or dynamic (php-apache) container based on the request Host and/or path.
While I think this solution would work fine, I doubles the number of containers I need.
I could keep using my nginx proxy as a single backend to all Traefik frontends, effectivley using Traefik only as a HTTPS endpoint, but that seems a little bit of an overkill.
I'm wondering if anyone can suggest a better setup.
Thanks