changeset 31 | 461eed8e7463 |
parent 21 | 52f40bd9e114 |
child 32 | 921746b84574 |
--- 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/">