News for hackers. Stuff that matters.
Re:Logjam TLS attack by ericcholis on Wednesday May 20, 2015 @08:39AM (#9575882)
Seen many nginx tutorials omit a pretty critical (IMO) command before applying/reloading config changes: nginx -t.

nginx -t will quickly tell you if you've screwed something up before actually trying to apply changes.

Re:Logjam TLS attack by ceequof on Wednesday May 20, 2015 @10:59AM (#9576745)
`service nginx configtest` does the same thing.
Re:Logjam TLS attack by garethsaxby on Wednesday May 20, 2015 @11:30AM (#9576963)
That's good to know too, yes, but using the nginx binary itself to test is always available, whilst a service command normally involves an init script, systemd config file or similar to be available, and they can vary between packages and distributions.