4 ms·
"One command" production ready server
by yrds96 5y ago
"One command" production ready server
- megous 5y agoYou mean like `apt install nginx`? :)
- codegeek 5y agoI am not a fan of docker for everything but 'apt install nginx' would not give you https out of the box. I am beginning to like Caddy which comes with https enabled but I have never used it in production yet.
- megous 5y agoIf you want https you can just run certbot. It will bootstrap the nginx config. I dislike programs that change the configuration automatically, and thus run dehydrated instead of certbot, but running apt install nginx certbot and some certbot incantation to make it bootstrap your domains is not really any more bothersome, than having to figure out how docker works, and how to manage changes to my nginx config with it over time, etc..
- readingnews 5y agoI totally disagree with this reply, and agree with the thread starter... I really, really do not see the point of this. One command? Did you read the github page? At the end, this doc even has you hand editing your nginx for SSL?!? Why on earth... why not just use certbot automation? This seems totally counter to the idea. Again, am I being dense? Is this just "look what I can do with docker that makes my life more complicated"? Honestly, at this point it feels like more work for less output. This seems way harder than installing nginx and certbot, and now I have a hard dependency on docker and whatever else you pulled in.
- marginalia_nu 5y agoSeems like optimizing a thing that's already pretty quick and easy to set up (and using docker and similar does not mean you don't need to understand how nginx works).