ansible-roles/certbot/templates/acme-challenge/apache.conf.j2
Jérémy Lecour f3111b42e5
All checks were successful
continuous-integration/drone/push Build is passing
cerbot: add mod_jk and mod_proxy directives for the Apache challenge
2020-04-20 10:49:50 +02:00

13 lines
398 B
Django/Jinja

<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
</Directory>