Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Yeah, I disliked that part to. The commands you need to know is:

nginx -t (test your configuration)

nginx -s reload (reload your configuration)

Also I prefer "nginx -s restart".



Great feedback guys - we'll look this over and probably change it in the article : )

The reason it's as such is because of what @timroman said in his reply, but if this method is no different and scales better no reason not to use it instead.


Possibly want to compare when to use restart and reload, and the drawbacks of both.




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: