Traefik Bad Gateway
For anyone getting the same issue:
After recreating the network (proxy) and restarting every site/container it seems to work now.I still don't know where the issue was from.
If you see Bad Gateway
with Traefik chances are you have a Docker networking issue. First have a look at this issue and consider this solution. Then take a look at providers.docker.network
(Traefik 2.0) or, in your case, the docker.network
setting (Traefik 1.7).
You could add a default network
here:
[docker]endpoint = "unix:///var/run/docker.sock"domain = "example.com"watch = trueexposedbydefault = falsenetwork = "proxy"
Or define/override it for a given service using the traefik.docker.network
label.
In your example you don't have traefik enabled:
traefik.enable=false
Make sure to enable it first and then test your containers.