Nginx commands

Check whether Nginx is running or not

sudo netstat -plunt

you can clearly see nginx is in listening mode at port 80

if nginx  not running use below commands:

service nginx start
systemctl nginx start

Now to check the nginx is running as which user

Leave a Comment

Your email address will not be published. Required fields are marked *

Open chat