ansible-roles/certbot/templates/acme-challenge/apache.conf.j2
Jérémy Lecour f940bc3866
All checks were successful
continuous-integration/drone/push Build is passing
cerbot: use the legacy script on Debian 8 and 9
2021-02-04 16:34:24 +01:00

12 lines
379 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
Require all granted
</Directory>