Hello!
I have a configuration problem on my server with caddy file. I try to setup socket.io and caddy only, when I put the direct ip ([ip]:3030) of my server, the socket setup correctly. but when i go through my domain ([domain]/socket.io) and try to setup the socket I get a code 200 but no connection log from my socket.
This version is two years out of date, and we recommend upgrading to the latest version, which is v2.8.4 as of this comment. Releases · caddyserver/caddy · GitHub
There’s some more information we’d like to see to help troubleshoot the issue.
From our Help topic template:
We want to help you, but if you ignore or skip questions in this template, we will just ask you to fill it out anyway.
OS, architecture, relevant versions, systemd? Docker? etc.
b. Command:
Commands are what you type into a terminal, i.e. the command you use to run Caddy.
Please read Keep Caddy Running — Caddy Documentation to understand the recommended commands to run Caddy, depending on your installation method.
PASTE OVER THIS, BETWEEN THE ``` LINES.
Please use the preview pane to ensure it looks nice.
c. Service/unit/compose file:
If using Docker/systemd/Kubernetes/make etc.
Delete the code block below if not relevant.
PASTE OVER THIS, BETWEEN THE ``` LINES.
Please use the preview pane to ensure it looks nice.
The debug messages in particular might be useful, as will the particulars of how you installed and ran Caddy.