Skip to content

Installation with Nginx

Andrey Gagarin edited this page Sep 10, 2020 · 5 revisions

Installing Nginx

Install the Nginx webserver and the necessary modules.

sudo apt-get update

sudo apt-get install nginx

Setting Nginx

Create a file /etc/nginx/sites-available/001-site.conf with the following contents, replacing your.site.com with the DNS name of your site.

server {
listen 80;
server_name your.site.com;
}

Contents

Clone this wiki locally