using another reverse proxy as Apache and Nginx
Ludea opened this issue · 4 comments
Ludea commented
Hi,
I would like to use Traefik as a reverse proxy with docker compose.
I use matomo:fpm
image and mariadb server.
matomo:
image: matomo:fpm
links:
- mariadb
container_name: analytic
restart: always
volumes:
- ./config:/var/www/html/config:rw
networks:
- web
- internal
labels:
- "traefik.enable=true"
- "traefik.frontend.rule=Host:analytic.mydomain.com"
- "traefik.port=9000"
- "traefik.backend=matomo"
- "traefik.frontend.entryPoints=http,https"
But I have Gateway timeout.
Does matomo image support Traefik ?
tianon commented
Traefik doesn't support the FastCGI protocol, which is what would be required for this to work (traefik/traefik#753)
Ludea commented
I know this issue. It has opened 2 years ago. And there is no ETA for this feature
Maybe a third tag can be released without FastCGI?
tianon commented
That's what the Apache tag is (and barring the built-in PHP webserver that's only recommended for development, I'm not aware of any other option that's not using FPM and thus FastCGI).
Ludea commented
Ah yes perfect ! I just try with apache tag and I can access to dashboard.