comparison doc/ssl.txt @ 58:41d76bd6268a

add doc for ssl
author Vadim Filimonov <fffilimonov@yandex.ru>
date Tue, 30 Nov 2021 09:32:14 +0200
parents
children
comparison
equal deleted inserted replaced
57:d5ee58e3abe5 58:41d76bd6268a
1 Fix config
2 vim nabble/conf/Init.luan
3 replace ubuntu.nabble.com:8080 with your domain (example for ubuntu.nabble.com)
4
5 Configure nginx
6 apt-get install nginx
7 change ubuntu.nabble.com with your domain
8 cp nabble/nginx/ubuntu.nabble.com /etc/nginx/sites-available/
9 ln -s /etc/nginx/sites-available/ubuntu.nabble.com /etc/nginx/sites-enabled/
10 /etc/init.d/nginx restart
11
12 Check nginx
13 run nabble: ./rever.sh
14 open in browser http://ubuntu.nabble.com/free-forum.html
15
16 SSL
17 snap install --classic certbot
18 ln -s /snap/bin/certbot /usr/bin/certbot
19 certbot --nginx -d ubuntu.nabble.com
20 open in browser https://ubuntu.nabble.com/free-forum.html