#===== NGINX =====
3. sudo apt-get update
4. sudo apt-get install nginx
that's it. You can start, stop or restart server by:
sudo service nginx start
or
sudo service nginx stop
and
sudo service nginx restart
# ==== UNICORN ====
First we need to install necessary libraries:
1. sudo apt-get install python-software-properties
2. sudo add-apt-repository ppa:nginx/stable
1. sudo apt-get install python-software-properties
2. sudo add-apt-repository ppa:nginx/stable
Then we need to update and install Nginx:
3. sudo apt-get update
4. sudo apt-get install nginx
that's it. You can start, stop or restart server by:
sudo service nginx start
or
sudo service nginx stop
and
sudo service nginx restart
# ==== UNICORN ====

Comments
Post a Comment