Skip to content

Instantly share code, notes, and snippets.

@light9
Created September 21, 2013 10:11
Show Gist options
  • Select an option

  • Save light9/6649132 to your computer and use it in GitHub Desktop.

Select an option

Save light9/6649132 to your computer and use it in GitHub Desktop.
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment