Closed ghost closed 4 years ago
nginx is both: web server and reverse proxy. but needs a side kick to get letsencrypt certificates. traefik is a reverse proxy that handles automatically letsencrypt certificates. but it can't handle static html/css content.
I see that makes sense now. What if I just supply nextcloud
as the nextcloud docker image? Doesn't this image come with the apache web server? Does the playbook account for this?
EDIT: Nevermind, course it does. As it doesn't deploy Nginx then.. 😄
Hi,
Maybe I don't understand it correctly, but it looks like Traefik and Nginx are both deployed in the default configuration.
Here contains the include_tasks for Traefik and then here in the groups_vars the image is set to
fpm-alpine
and the when statement checks iffpm
is present which it always will be (unless changed)This confuses me because I thought Traefik and Nginx are both reverse proxies. So why are they both deployed if they perform the same task?
Thanks.