Email or username:

Password:

Forgot your password?
nixCraft 🐧

Here's a helpful tip for those using #Linux or #Unix web servers. Before you hit that reload command, it's always a good idea to test your server config file for syntax errors. You can do this easily as follows:

- For nginx: nginx -t
- For lighttpd: lighttpd -t -f lighttpd.conf
- For apache2: apache2 -t

If you want to check for syntax errors on other Linux/Unix servers, I have compiled a complete list for you cyberciti.biz/tips/check-unix-

On my way to edit the web servers config file 

( A picture of bomb disposal unit person )
1 comment
Farshid Hakimy / فرشید

@nixCraft and you can reload nginx with no downtime with `nginx -s reload`

Go Up