1. My Caddy version (
2. How I run Caddy:
a. System environment:
Digitalocean VPS (Ubuntu).
nohup caddy &
c. Service/unit/compose file:
Sadly I have no idea what this means
d. My complete Caddyfile:
jossecottenier.tech proxy /captcha localhost:3001 proxy /contactform localhost:3001 proxy /test localhost:2020
3. The problem I’m having:
As you can see in my Caddyfile above, I’m trying to get a seperate React project to be served at /test.
The way I tried to do this is serving it via caddy on localhost:2020 and then adding a proxy in the Caddyfile, as you can see above.
4. Error messages and/or full log output:
No error messages, just
404 not found when I try to visit the URL.
5. What I already tried:
Restarting caddy services, trying to run with
caddy instead of
nohup caddy &.
6. Links to relevant resources: