5 ms·
See https://news.ycombinator.com/item?id=37482096 https://news.ycombinator.com/item?id=37482096, the plan is to switch to unix socket by default on certain dist
by francislavoie 3y ago
See https://news.ycombinator.com/item?id=37482096 https://news.ycombinator.com/item?id=37482096, the plan is to switch to unix socket by default on certain distributions of Caddy.
But it won't be possible to add signals support. We've thought hard about it but it's simply not a fit. There's discussion in GitHub: https://github.com/caddyserver/caddy/issues/3967 https://github.com/caddyserver/caddy/issues/3967
- bravetraveler 3y agoSockets will definitely be appreciated! It leaves some corner cases I can imagine, but it's definitely a step in the right direction. ie: admin interface disabled, I can't reload to bring it back... because that depends on it. With sockets we gain a permission model; one simply being in the 'localhost' scope can't do funny/scary things - either a user or another service on the system. Thank you for the discussion, I'll give it a read - have a meeting then I can finally use my computer to 'catch up'