How to install, start, stop and restart ngnix on ubuntu

Nginx gets installed as a system service.

If you are manually setting up an Ubuntu vps on digitalocean, aws, ubuntu, cloudfare, heroku etc and are using nginx, you might find this handy.

Install Nginx

sudo apt-get install nginx

Start Nginx

sudo service nginx start

Stop Nginx

sudo service nginx stop

Restar Nginx

sudo service nginx restart

Ryan Sukale

Ryan is just a regular guy next door trying to manage his life and finances.

You may also like...

Leave a Reply

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