79442163

Date: 2025-02-15 20:02:26
Score: 1
Natty:
Report link

The problem is that I was using caddy to serve httpS, so this was useless.

I finally used this Caddyfile:

<my-domain> {
        reverse_proxy localhost:3000

        handle_path /api/* {
                reverse_proxy localhost:8000
        }
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Tom Planche