Created
March 19, 2018 01:31
-
-
Save sonukapoor/562a6926d0f185fa22f6085dff63b0b6 to your computer and use it in GitHub Desktop.
nginx commands
This file contains 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
-- nginx config | |
sudo vi /etc/nginx/nginx.conf | |
-- allow nginx communication with other ports | |
sudo setsebool -P httpd_can_network_connect 1 | |
-- test nginx config | |
sudo nginx -t | |
-- check nginx log | |
tail -30 /var/log/nginx/error.log |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment