How to make WebSockets work with Traefik 2.0 (setting up Rancher)

Found the solution, just add that middleware to your secure endpoint route:

traefik.http.middlewares.sslheader.headers.customrequestheaders.X-Forwarded-Proto = https
3 Likes