Hello,
I searched for and tried examples for the whole weekend, but I really don't know how to get Traefik v3.4.0 to work without rebuilding my whole server (which is quite scary).
I have 5 docker containers (chirpstack) and want to expose 3 of them with different ports on one subdomain.
test.example.com:443 -> docker1:8080
test.example.com:1700 -> docker2:1700
test.example.com:3100 -> docker3:3100
...
But on my server runs an Apache2 server with quite a few other subdomains.
site1.example.com:443 (with redirect 80->443)
site2.example.com:443 (with redirect 80->443)
...
Now I am unable to start the Traefik container, as the ports 80 and 443 are already taken.
I understand, that Apache currently handles my subdomains and that I have to channel everything somehow through traefik (like this?):
Traefik:443 [site1.example.com] -> Apache(site1.example.com)
Traefik:443 [test.example.com] -> Docker container1:8080
How do I need to configure Traefik to support my use-case?
How do I need to change the configuration of Apache to make it work?
For a few other subdomains, certbot handles all the certificates used by apache. Do I have to change this behavior?
I think one solution might be, to change apache port 443 to 444 and route again, but maybe there are better solutions?