However, I can’t seem to connect to wss://jfault.duckdns.org/. I don’t know if this is caddy or my websocket server but I can connect to ws://localhost:8080 fine from my own computer.
I’m starting caddy with caddy --conf=Caddyfile --http2=false (latest release (from website) and Windows 10)
Hey Jay, The header_upstream lines are redundant as the websocket preset will take care of that for you. Also, try taking out the ws:// prefix on the upstream… maybe replace it with https:// – can be hard to tell exactly what the fix is from this angle.