Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Caddy 0.9 Released with All New Core. Parent comment
Yes. Use this in your Caddyfile:
proxy /api 10.20.30.40:8080
No, QUIC is not supported at the moment: https://caddyserver.com/blog/implementing-http2-isnt-trivial
- and plain TCP for the front-end?
Yes, if you mean HTTP/1.x. Also, you can serve static files from the proxy itself. Everything not mentioned in explicit "proxy" directive would be served from local files in the same directory as Caddifile.
https://github.com/mholt/caddy/releases/tag/v0.9.0
Yes. Use this in your Caddyfile:
- And if so, can I use QUIC for the backendNo, QUIC is not supported at the moment: https://caddyserver.com/blog/implementing-http2-isnt-trivial
- and plain TCP for the front-end?
Yes, if you mean HTTP/1.x. Also, you can serve static files from the proxy itself. Everything not mentioned in explicit "proxy" directive would be served from local files in the same directory as Caddifile.