cerbot: add mod_jk and mod_proxy directives for the Apache challenge
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Jérémy Lecour 2020-04-20 10:49:44 +02:00 committed by Jérémy Lecour
parent b1b0072377
commit f3111b42e5
1 changed files with 8 additions and 2 deletions

View File

@ -1,5 +1,11 @@
Alias /.well-known/acme-challenge {{ certbot_work_dir }}/.well-known/acme-challenge <IfModule jk_module>
<Directory "{{ certbot_work_dir }}/.well-known/acme-challenge"> SetEnvIf Request_URI "/.well-known/acme-challenge/*" no-jk
</IfModule>
<IfModule proxy_module>
ProxyPass /.well-known/acme-challenge/ !
</IfModule>
Alias /.well-known/acme-challenge /var/lib/letsencrypt/.well-known/acme-challenge
<Directory "/var/lib/letsencrypt/.well-known/acme-challenge">
Options -Indexes Options -Indexes
Allow from all Allow from all
Require all granted Require all granted