diff --git a/.docs/server-installation.md b/.docs/server-installation.md index 33a1913..fe4cf0f 100644 --- a/.docs/server-installation.md +++ b/.docs/server-installation.md @@ -112,11 +112,22 @@ Restart the service: > sudo systemctl restart sshd ## Issue certificates +### Install certbot +> sudo apt update +> sudo apt install -y certbot +> sudo apt install -y python3-certbot-nginx > certbot certonly --nginx -d pronature-disk.bg73.net > certbot certonly --nginx -d pronature-v1.bg73.net -## NGINX server config +## NGINX rev proxy server config +### Install NGINX +> sudo apt update +> sudo apt install nginx -y +> sudo systemctl enable nginx +> sudo systemctl start nginx + ### Configure storage endpoint +Working directory: `/etc/nginx/sites-available/` ```nginx server { listen 443 ssl http2;