From 033cb3126d81f8867b780ca1ab99209487230ecd Mon Sep 17 00:00:00 2001 From: goynov Date: Fri, 27 Jun 2025 17:40:08 +0300 Subject: [PATCH] update docs --- .docs/server-installation.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) 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;