light9
9/21/2013 - 10:11 AM

Debugging Nginx Configuration

Debugging Nginx Configuration

nginx -t && service nginx reload

service nginx status  # to poll for current status
service nginx stop    # to stop any servers if any
service nginx start   # to start the server