Activating Let's Encrypt webroot renewal for all my sites.
--- 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
--- 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 @@
<Directory "/srv/www/$d/">
Require all granted
</Directory>
+
+ Alias "/.well-known/acme-challenge/" "/srv/www/letsencrypt/.well-known/acme-challenge/"
+ <Directory "/srv/www/letsencrypt/">
+ Require all granted
+ </Directory>
</VirtualHost>
<IfModule mod_ssl.c>
--- 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 @@
<Directory "/srv/www/$d/">
Require all granted
</Directory>
+
+ Alias "/.well-known/acme-challenge/" "/srv/www/letsencrypt/.well-known/acme-challenge/"
+ <Directory "/srv/www/letsencrypt/">
+ Require all granted
+ </Directory>
</VirtualHost>
<IfModule mod_ssl.c>
--- 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 @@
<Directory "/srv/www/$d/download/">
Options Indexes
</Directory>
+
+ Alias "/.well-known/acme-challenge/" "/srv/www/letsencrypt/.well-known/acme-challenge/"
+ <Directory "/srv/www/letsencrypt/">
+ Require all granted
+ </Directory>
</VirtualHost>
<IfModule mod_ssl.c>
--- 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/"
+ <Directory "/srv/www/letsencrypt/">
+ Require all granted
+ </Directory>
+
ScriptAliasMatch ^/(.*) /srv/hg/hgweb.cgi/\$1
<Directory "/srv/hg/">
--- 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 @@
<Directory "/srv/www/$d/">
Require all granted
</Directory>
+
+ Alias "/.well-known/acme-challenge/" "/srv/www/letsencrypt/.well-known/acme-challenge/"
+ <Directory "/srv/www/letsencrypt/">
+ Require all granted
+ </Directory>
</VirtualHost>
<IfModule mod_ssl.c>
--- 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 @@
<Directory "/srv/www/$d/">
Require all granted
</Directory>
+
+ Alias "/.well-known/acme-challenge/" "/srv/www/letsencrypt/.well-known/acme-challenge/"
+ <Directory "/srv/www/letsencrypt/">
+ Require all granted
+ </Directory>
</VirtualHost>
<IfModule mod_ssl.c>
--- 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 @@
<Directory "/srv/www/$d/">
Require all granted
</Directory>
+
+ Alias "/.well-known/acme-challenge/" "/srv/www/letsencrypt/.well-known/acme-challenge/"
+ <Directory "/srv/www/letsencrypt/">
+ Require all granted
+ </Directory>
</VirtualHost>
<IfModule mod_ssl.c>
--- 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 @@
<Directory "/srv/www/$d/">
Require all granted
</Directory>
+
+ Alias "/.well-known/acme-challenge/" "/srv/www/letsencrypt/.well-known/acme-challenge/"
+ <Directory "/srv/www/letsencrypt/">
+ Require all granted
+ </Directory>
</VirtualHost>
<IfModule mod_ssl.c>
--- 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 @@
<Directory "/srv/www/$d/">
Require all granted
</Directory>
+
+ Alias "/.well-known/acme-challenge/" "/srv/www/letsencrypt/.well-known/acme-challenge/"
+ <Directory "/srv/www/letsencrypt/">
+ Require all granted
+ </Directory>
</VirtualHost>
<IfModule mod_ssl.c>