How to upgrade to secure websocket

Hi there,

I am facing a problem where i think i should be telling Traefik to update a request to websocket.

So let's say

url.com should be tls (https://)
url.com/websocket should be secure websocket (wss://)

In which way is this possible or does traefik handles this automatically?

I already tried the middleware below but that gives me a 500 internal server error.

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