-
-
Notifications
You must be signed in to change notification settings - Fork 13
Installation with Nginx
Andrey Gagarin edited this page Sep 10, 2020
·
5 revisions
Install the Nginx webserver and the necessary modules.
sudo apt-get update
sudo apt-get install 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;
}
Install certbot on you server. If you have fresh version of Ubuntu or Debian:
sudo apt-get update
sudo apt-get install certbot python-certbot-nginx