starting and stopping nginx

From WebHostingNeeds.com
Jump to: navigation, search

To start nginx, run

/usr/local/nginx/sbin/nginx

To stop nginx, run

kill `cat /usr/local/nginx/logs/nginx.pid`