Can't proxy websockets through Caddy

(Alex Balatsky) #1

Hello, komrads. This question was asked and solved a long time ago, but I’m still a little bit confused about how this works.

What I’m trying to do:
I started a (node.js) server at :1337 port and I want connect like this:, but it does not work.

I tried this config:
proxy / localhost:1337 {

Logs are empty. Hope for help, thanks.