-
-
Save mike-prog-lab/9a5fa392ba1f020f2bad02f920dbc3c3 to your computer and use it in GitHub Desktop.
RESTART NGINX AMAZON LINUX AMI
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
| Try to run the following two commands: | |
| sudo fuser -k 80/tcp | |
| sudo fuser -k 443/tcp | |
| NGINX BASIC COMMAND | |
| sudo service nginx restart | |
| sudo service nginx start | |
| sudo service nginx stop | |
| RUN BACKGROUND AFTER REBOOT | |
| sudo chkconfig nginx on | |
| NGINX config | |
| - sudo vi /etc/nginx/nginx.conf | |
| NGINX Application Setup | |
| - sudo vim /etc/nginx/conf.d/<config_name>stm.conf | |
| NGINX LOG PATH | |
| - cd /var/log/nginx | |
| CAMALEON UPLOAD ERROR <temporary handler for big image> | |
| - cd /var/tmp/nginx <check if has nginx folder> | |
| SOURCE | |
| https://stackoverflow.com/questions/35868976/nginx-not-started-and-cant-start |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment