memory-leaks

Still reachable: lots of words in many pages.
git clone https://git.kevinlegouguec.net/memory-leaks
Log | Files | Refs | README | LICENSE

commit 93f3023a3175d3f20d27a9fc74af2c3c48f50fd8
parent e016666d64cb48ce3f7c6b1960b7e26ba62a8ace
Author: Kévin Le Gouguec <kevin.legouguec@gmail.com>
Date:   Sun,  8 Aug 2021 14:30:27 +0200

Note how to generate HTTPS certificates

Diffstat:
Mguides/cloud/vps.org | 8++++++++
1 file changed, 8 insertions(+), 0 deletions(-)

diff --git a/guides/cloud/vps.org b/guides/cloud/vps.org @@ -100,6 +100,13 @@ sudo systemctl restart fail2ban Check how these rules fare against real bot searches with ~fail2ban-regex /var/log/nginx/access.log /etc/fail2ban/filter.d/nginx-botsearch.local~. +*** HTTPS +#+begin_src sh +sudo apt install certbot python3-certbot-nginx +sudo certbot --nginx -d $FQDN www.$FQDN +sudo systemctl reload nginx +#+end_src + ** Git server *** SSH access #+begin_src sh @@ -142,6 +149,7 @@ css=/cgit.css logo=/cgit.png virtual-root=/ +# Change these to https:// after setting up certbot: clone-prefix=http://git.$FQDN clone-url=http://git.$FQDN/$CGIT_REPO_URL