annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
58
41d76bd6268a add doc for ssl
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
1 Fix config
41d76bd6268a add doc for ssl
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
2 vim nabble/conf/Init.luan
41d76bd6268a add doc for ssl
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
3 replace ubuntu.nabble.com:8080 with your domain (example for ubuntu.nabble.com)
41d76bd6268a add doc for ssl
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
4
41d76bd6268a add doc for ssl
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
5 Configure nginx
41d76bd6268a add doc for ssl
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
6 apt-get install nginx
41d76bd6268a add doc for ssl
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
7 change ubuntu.nabble.com with your domain
41d76bd6268a add doc for ssl
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
8 cp nabble/nginx/ubuntu.nabble.com /etc/nginx/sites-available/
41d76bd6268a add doc for ssl
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
9 ln -s /etc/nginx/sites-available/ubuntu.nabble.com /etc/nginx/sites-enabled/
41d76bd6268a add doc for ssl
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
10 /etc/init.d/nginx restart
41d76bd6268a add doc for ssl
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
11
41d76bd6268a add doc for ssl
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
12 Check nginx
41d76bd6268a add doc for ssl
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
13 run nabble: ./rever.sh
41d76bd6268a add doc for ssl
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
14 open in browser http://ubuntu.nabble.com/free-forum.html
41d76bd6268a add doc for ssl
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
15
41d76bd6268a add doc for ssl
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
16 SSL
41d76bd6268a add doc for ssl
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
17 snap install --classic certbot
41d76bd6268a add doc for ssl
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
18 ln -s /snap/bin/certbot /usr/bin/certbot
41d76bd6268a add doc for ssl
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
19 certbot --nginx -d ubuntu.nabble.com
41d76bd6268a add doc for ssl
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
20 open in browser https://ubuntu.nabble.com/free-forum.html