update docs
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user