cerbot: add mod_jk and mod_proxy directives for the Apache challenge
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
b1b0072377
commit
f3111b42e5
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue