equal
deleted
inserted
replaced
40 cat <<EOF >/etc/apache2/sites-available/hg.conf |
40 cat <<EOF >/etc/apache2/sites-available/hg.conf |
41 <VirtualHost hg.defun.work:*> |
41 <VirtualHost hg.defun.work:*> |
42 DocumentRoot /srv/hg |
42 DocumentRoot /srv/hg |
43 ServerName hg.defun.work |
43 ServerName hg.defun.work |
44 |
44 |
|
45 Alias "/.well-known/acme-challenge/" "/srv/www/letsencrypt/.well-known/acme-challenge/" |
|
46 <Directory "/srv/www/letsencrypt/"> |
|
47 Require all granted |
|
48 </Directory> |
|
49 |
45 ScriptAliasMatch ^/(.*) /srv/hg/hgweb.cgi/\$1 |
50 ScriptAliasMatch ^/(.*) /srv/hg/hgweb.cgi/\$1 |
46 |
51 |
47 <Directory "/srv/hg/"> |
52 <Directory "/srv/hg/"> |
48 Options +ExecCGI |
53 Options +ExecCGI |
49 Require all granted |
54 Require all granted |