# HG changeset patch # User Oleksandr Gavenko # Date 1690755859 -10800 # Node ID 461eed8e7463dd4119fa23834b7b2c495f3a7453 # Parent 28471730dbf04a6829870a39b9c67e3f800ea654 Activating Let's Encrypt webroot renewal for all my sites. diff -r 28471730dbf0 -r 461eed8e7463 deb/apache-letsencrypt.bash --- a/deb/apache-letsencrypt.bash Mon Jul 31 01:15:58 2023 +0300 +++ b/deb/apache-letsencrypt.bash Mon Jul 31 01:24:19 2023 +0300 @@ -9,7 +9,17 @@ -m gavenkoa@gmail.com \ -w /srv/www/letsencrypt \ --cert-name defun.work \ - -d 2048.defun.work + -d defun.work \ + -d 2048.defun.work \ + -d blog.defun.work \ + -d cooking.defun.work \ + -d gadict.defun.work \ + -d hg.defun.work \ + -d resume.defun.work \ + -d stat.defun.work \ + -d test.defun.work \ + -d tips.defun.work + # service apache2 start # https://wiki.debian.org/LetsEncrypt diff -r 28471730dbf0 -r 461eed8e7463 deb/apache-register-blog.bash --- a/deb/apache-register-blog.bash Mon Jul 31 01:15:58 2023 +0300 +++ b/deb/apache-register-blog.bash Mon Jul 31 01:24:19 2023 +0300 @@ -17,6 +17,11 @@ Require all granted + + Alias "/.well-known/acme-challenge/" "/srv/www/letsencrypt/.well-known/acme-challenge/" + + Require all granted + diff -r 28471730dbf0 -r 461eed8e7463 deb/apache-register-cooking.bash --- a/deb/apache-register-cooking.bash Mon Jul 31 01:15:58 2023 +0300 +++ b/deb/apache-register-cooking.bash Mon Jul 31 01:24:19 2023 +0300 @@ -17,6 +17,11 @@ Require all granted + + Alias "/.well-known/acme-challenge/" "/srv/www/letsencrypt/.well-known/acme-challenge/" + + Require all granted + diff -r 28471730dbf0 -r 461eed8e7463 deb/apache-register-gadict.bash --- a/deb/apache-register-gadict.bash Mon Jul 31 01:15:58 2023 +0300 +++ b/deb/apache-register-gadict.bash Mon Jul 31 01:24:19 2023 +0300 @@ -20,6 +20,11 @@ Options Indexes + + Alias "/.well-known/acme-challenge/" "/srv/www/letsencrypt/.well-known/acme-challenge/" + + Require all granted + diff -r 28471730dbf0 -r 461eed8e7463 deb/apache-register-hg.bash --- a/deb/apache-register-hg.bash Mon Jul 31 01:15:58 2023 +0300 +++ b/deb/apache-register-hg.bash Mon Jul 31 01:24:19 2023 +0300 @@ -42,6 +42,11 @@ DocumentRoot /srv/hg ServerName hg.defun.work + Alias "/.well-known/acme-challenge/" "/srv/www/letsencrypt/.well-known/acme-challenge/" + + Require all granted + + ScriptAliasMatch ^/(.*) /srv/hg/hgweb.cgi/\$1 diff -r 28471730dbf0 -r 461eed8e7463 deb/apache-register-resume.bash --- a/deb/apache-register-resume.bash Mon Jul 31 01:15:58 2023 +0300 +++ b/deb/apache-register-resume.bash Mon Jul 31 01:24:19 2023 +0300 @@ -17,6 +17,11 @@ Require all granted + + Alias "/.well-known/acme-challenge/" "/srv/www/letsencrypt/.well-known/acme-challenge/" + + Require all granted + diff -r 28471730dbf0 -r 461eed8e7463 deb/apache-register-stat.bash --- a/deb/apache-register-stat.bash Mon Jul 31 01:15:58 2023 +0300 +++ b/deb/apache-register-stat.bash Mon Jul 31 01:24:19 2023 +0300 @@ -17,6 +17,11 @@ Require all granted + + Alias "/.well-known/acme-challenge/" "/srv/www/letsencrypt/.well-known/acme-challenge/" + + Require all granted + diff -r 28471730dbf0 -r 461eed8e7463 deb/apache-register-test.bash --- a/deb/apache-register-test.bash Mon Jul 31 01:15:58 2023 +0300 +++ b/deb/apache-register-test.bash Mon Jul 31 01:24:19 2023 +0300 @@ -17,6 +17,11 @@ Require all granted + + Alias "/.well-known/acme-challenge/" "/srv/www/letsencrypt/.well-known/acme-challenge/" + + Require all granted + diff -r 28471730dbf0 -r 461eed8e7463 deb/apache-register-tips.bash --- a/deb/apache-register-tips.bash Mon Jul 31 01:15:58 2023 +0300 +++ b/deb/apache-register-tips.bash Mon Jul 31 01:24:19 2023 +0300 @@ -17,6 +17,11 @@ Require all granted + + Alias "/.well-known/acme-challenge/" "/srv/www/letsencrypt/.well-known/acme-challenge/" + + Require all granted + diff -r 28471730dbf0 -r 461eed8e7463 deb/apache-register-welcome.bash --- a/deb/apache-register-welcome.bash Mon Jul 31 01:15:58 2023 +0300 +++ b/deb/apache-register-welcome.bash Mon Jul 31 01:24:19 2023 +0300 @@ -17,6 +17,11 @@ Require all granted + + Alias "/.well-known/acme-challenge/" "/srv/www/letsencrypt/.well-known/acme-challenge/" + + Require all granted +