
Estoy intentando convertir este nginx
bloque de configuración a Apache 2.4:
http {
...
server {
...
location ~ ^/\.well-known/acme-challenge/([-_a-zA-Z0-9]+)$ {
default_type text/plain;
return 200 "$1.6fXAG9VyG0IahirPEU2ZerUtItW2DHzDzD9wZaEKpqd";
}
...
}
}
Lo que tengo en este momento es:
<LocationMatch ^/\.well-known/acme-challenge/([-_a-zA-Z0-9]+)$>
RewriteEngine On
RewriteRule ^/.*/$ $1.6fXAG9VyG0IahirPEU2ZerUtItW2DHzDzD9wZaEKpqd [R=200]
</LocationMatch>
Pero definitivamente no funciona.
¿Qué estoy tratando de lograr? Cifremos el modo sin estado con Apache:https://github.com/Neilpang/acme.sh/wiki/Stateless-Mode