3 ms·
You can also use Caddy to do this. Single static binary, use the "respond" command to spin up a super simple server that responds with the text and headers you
by francislavoie 3y ago
You can also use Caddy to do this. Single static binary, use the "respond" command to spin up a super simple server that responds with the text and headers you want: https://caddyserver.com/docs/command-line#caddy-respond https://caddyserver.com/docs/command-line#caddy-respond also gives you Automatic HTTPS out of the box, production ready proxy, etc.