How to Start, Stop and Restart Nginx Web Server on Ubuntu Linux

Nginx

In this post, we will discuss some commands about Nginx servers.

Start Nginx Server :

sudo /etc/init.d/nginx start

Stop Nginx Server :

sudo /etc/init.d/nginx stop

Restart Nginx Server :

sudo /etc/init.d/nginx restart

Status Nginx Server :

sudo /etc/init.d/nginx status

If Nginx is running then the output is:-

Nginx status

Leave a Reply

WC Captcha 65 + = 71