5 ms·
Hi HN. This was my hobby project over the last 4 months and it kept me sane through my hardest semester. Feedback and contributions are totally welcome. I know
by mholt 12y ago
Hi HN. This was my hobby project over the last 4 months and it kept me sane through my hardest semester. Feedback and contributions are totally welcome. I know Caddy has a long way to go, but it's already replaced nginx and Apache for my own needs. I figured it was time to make this a community-driven project for all who are interested.
(Incidentally, I really hope my little Digital Ocean droplet can handle the load. Wouldn't that be ironic? Anyway, if you have trouble, try the plain HTTP/1.1 site or the GitHub project page: https://github.com/mholt/caddy https://github.com/mholt/caddy)
- solaris999 12y agoThis looks amazing! Your docs page 404s for me every other refresh and doesn't load with any CSS. I'm guessing this is a load problem? Edit: Managed to load it with styling this time, it looks great :)
- Kudos 12y agoThis is really impressive, well done!
- danappelxx 12y agoThis is really cool. Out of curiosity, is there any support for the wsgi protocol? It would be really cool if I could use it with uWSGI.
- mholt 12y agoI looked into it. There's only a couple WSGI libraries that I know of. Still not sure if either one would do: https://github.com/mattn/go-uwsgi https://github.com/mattn/go-uwsgi or http://godoc.org/bitbucket.org/classroomsystems/wsgi http://godoc.org/bitbucket.org/classroomsystems/wsgi. Feel free to open an issue about it!
- jsd1982 12y agoSlightly off-topic: Try serverhub.com instead of digitalocean.com. They have much more flexible offerings and much more storage available for cheaper prices. I'm running a bunch of web sites off a single $18/mo plan VPS that gives me 120GB of SSD storage.
- czk 12y agoAre they OpenVZ?
- serverhub 12y agoYes, all of our VPS plans are OpenVZ.
- jetm9 12y agoasking to learn: what diff does openVZ make over other options?
- Veratyr 12y agoOpenVZ is a container based virtualization solution. Among other things it means you can't run your own kernel or make changes to the existing kernel. The biggest problem I've encountered with it is not being able to set up certain iptables rules without a particular setting on the OpenVZ host being enabled (which often requires a support ticket). To put it simply, OpenVZ works similarly to Docker rather than VirtualBox or VMWare and comes with similar benefits and limitations.
- deleted 12y ago[deleted]
- mholt 12y agoThanks for the link; never looked into ServerHub before, but I will take a look. Their offering is appealing... wonder how they can afford that.
- SunSparc 12y agoThis is a sweet little web server. Good job putting it all together!
- hoodoof 12y agoDoes it spawn processes?
- mholt 12y agoNope, it's just multi-threaded and, by default, will utilize all available cores. You can configure it to run commands at startup and shutdown, though, in which case yes, it would spawn processes.