4 ms·
> Caddyfile is pretty basic, anything advanced doesn't work I disagree. I think we're at about 95%-ish of usecases supported by the Caddyfile. We're continuall
by francislavoie 4y ago
> Caddyfile is pretty basic, anything advanced doesn't work
I disagree. I think we're at about 95%-ish of usecases supported by the Caddyfile. We're continually improving on this.
It's just a reality of having to maintain a config adapter, when the actual underlying config at runtime is JSON. But it's fine, we make it work :)
If you have something specific you find you can't do with the Caddyfile, please open an issue. If you're just not sure, please open a topic on our community forums and we'll help you out.
- Shorel 4y agoThe most complex thing I remember doing with nginx is video streaming using OBS as a source and multiplexing with nginx to YouTube, Facebook and Twitch. How can I do this with Caddy?
- francislavoie 4y agoWell, that's a bit off-topic from the parent comment, which was more about the Caddyfile supporting complex config (versus the underlying JSON config) and not really "complex usecases". But that said, from a quick Google search... was this an RTMP stream? If so, I suppose you'd want to use https://github.com/mholt/caddy-l4 https://github.com/mholt/caddy-l4 which is a plugin for Caddy that lets you do TCP-layer things. Caddy's standard distribution just ships an HTTP server (plus TLS and PKI, etc), which is layer-7 You might be able to use caddy-l4's "tee" handler to pipe into multiple "proxy" handlers. But I'm not sure anyone's tried this yet, I had no idea people did this sort of thing. I'd be interested to hear if it does work though.