X-Git-Url: https://git.rapsys.eu/.gitweb.cgi/acme/blobdiff_plain/fdf40983214210b3b757ddb340212194d0116237..90324d175d35a66c8316493dd12603ebdd087335:/www/acme.apache.conf diff --git a/www/acme.apache.conf b/www/acme.apache.conf new file mode 100644 index 0000000..8ff2241 --- /dev/null +++ b/www/acme.apache.conf @@ -0,0 +1,22 @@ +# Acme configuration + + # Ignore htaccess + AllowOverride None + + # Allow follow symlinks (required by php or rewrite) + Options FollowSymLinks + + # Allow from all + Require all granted + + + + # Start rewrite engine + RewriteEngine on + + # Only if https is disabled + RewriteCond %{HTTPS} off + + # Rewrite acme uri on php script + RewriteRule /\.well\-known/acme\-challenge/([-_a-zA-Z0-9]+) /usr/share/acme/acme-challenge.php?key=$1 [L] +