Created
January 12, 2015 11:25
-
-
Save francois-blanchard/4d7fbf4acca6090ba10e to your computer and use it in GitHub Desktop.
Debbuging NGINX configuration
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Debbuging NGINX configuration | |
| ``` | |
| # check error log | |
| tail /var/log/nginx/error.log | |
| # check syntax nginx conf | |
| nginx -t | |
| # reload nginx after fix | |
| service nginx reload | |
| ``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment