4 ms·
Thank you for the response. It looks interesting. >I needed a quick and easy web server I am trying to reason with what I know, but wouldn't something like "p
by abhishekjha 3y ago
Thank you for the response. It looks interesting.
>I needed a quick and easy web server
I am trying to reason with what I know, but wouldn't something like "python -m http.server 9000" suffice? Or nginx? These are battle tested and python is there on most platforms.
Or is there more depth to this specific web server that others don't have?
- mholt 3y agoNo, because python's simple HTTP server isn't production ready (doesn't support Range requests last I checked, and quite a few other limitations). And nginx is not "quick and easy" by any means, doesn't grant me the security of memory safety (it was vulnerable to Heartbleed, for example -- I wrote Caddy shortly after Heartbleed), and doesn't give me automatic HTTPS. And Caddy is very well battle-tested too, btw. ;)