Docker Community Forums

Share and learn in the Docker community.

Later 7 Routing


(Fsejoseph) #1

Hello,

I have setup layer 7 routing by following these steps. It is production ready. I have labeled, change the config.toml to host.

The demo works

I even setup my proxy LB, my wild card DNS to point to the proxy LB. BUT when I run an app like Rocket.Chat it does not work. I am using stack file that includes the labels:

        com.docker.lb.hosts: app.example.org
        com.docker.lb.network: demo-network
        com.docker.lb.port: 8080
        com.docker.lb.ssl_passthrough: "true"

The way the stack file is setup I have services including nginx, rocket.chat, and mongo:3.6.
I want my app to take card of the SSL right now. I am behind a proxy.

Any idea? I am not sure why the demo works but not another app.