]> Raphaƫl G. Git Repositories - acme/blob - www/acme.conf
8ff22410dba0478d19ba7aeeaf372cd1daf0cdc1
[acme] / www / acme.conf
1 # Acme configuration
2 <Directory /usr/share/acme>
3 # Ignore htaccess
4 AllowOverride None
5
6 # Allow follow symlinks (required by php or rewrite)
7 Options FollowSymLinks
8
9 # Allow from all
10 Require all granted
11 </Directory>
12
13 <IfModule rewrite_module>
14 # Start rewrite engine
15 RewriteEngine on
16
17 # Only if https is disabled
18 RewriteCond %{HTTPS} off
19
20 # Rewrite acme uri on php script
21 RewriteRule /\.well\-known/acme\-challenge/([-_a-zA-Z0-9]+) /usr/share/acme/acme-challenge.php?key=$1 [L]
22 </IfModule>