I'm trying to replace my current nginx setup with traefik. But something is wrong with websockets. For a minimal example here I have my compose file and nginx config which works well, and a compose file with traefik which does not work: docker-compose.nginx.yml · GitHub.
Could anyone help me to identify the difference between these two setups and what's missing in the compose file with traefik that makes it fail to work with websockets the same as nginx config?
Headers and HTTP version the app receives is the same for both variants by the way.