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

Cette révision appartient à :
Jérémy Lecour 2020-04-20 10:49:44 +02:00 révisé par Jérémy Lecour
Parent b1b0072377
révision f3111b42e5
1 fichiers modifiés avec 8 ajouts et 2 suppressions

Voir le fichier

@ -1,5 +1,11 @@
Alias /.well-known/acme-challenge {{ certbot_work_dir }}/.well-known/acme-challenge
<Directory "{{ certbot_work_dir }}/.well-known/acme-challenge">
<IfModule jk_module>
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
Allow from all
Require all granted