Closed ACCakut closed 5 months ago
You either need to remove Apache and start using Traefik, or to make Traefik not try to use the same ports as Apache (that is, making Traefik not handle public traffic - putting it behind Apache).
You can migrate your existing Apache configuration to Traefik (this may be difficult, depending on what you're using Apache for).
If you'd like to keep Apache around, you can refer to our Using your own webserver, instead of this playbook's Traefik reverse-proxy (optional, advanced) documentation and specifically the Fronting the integrated reverse-proxy webserver with another reverse-proxy section.
I did not install apache before, and it was definitely not installed before running the script (apt remove apache
said that). When running my original (not minimal) config, I got errors with coturn service not running. As I said, I tested two hosters and different basic distributions so that, IMHO, the playbook should run fine.
Describe the bug When I try to install my first own matrix server, I am stuck since the traefik service cannot grab port 80 which is blocked by apache yet. I used fresh server images on Azure and a classic VPS. I chopped my config down to the very basic parts.
To Reproduce My
vars.yml
file looks like this:Fresh new server image installation, Debian 11 and Alma 9 tested.
ssh-copy-id
to copy public ssh cert.just roles
andjust setup-all
(oransible-playbook -i inventory/hosts setup.yml --tags=setup-all,ensure-matrix-users-created,start
). Firewall ports open. DNS entries set.Expected behavior The server should install flawlessly and traefik should be able to get port 80 on a freshly installed Linux.
Matrix Server: