diff --git a/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/Ejabberd/80Ejabberd b/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/Ejabberd/80Ejabberd index 3911311..8653d5a 100644 --- a/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/Ejabberd/80Ejabberd +++ b/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/Ejabberd/80Ejabberd @@ -16,6 +16,7 @@ if ( $port ne ($modSSL{'TCPPort'} || '443')){ #==================================================================== RewriteEngine on + RewriteCond %{REQUEST_URI} !^/.well-known/acme-challenge/.* RewriteRule ^/(.*|\$) https://%{HTTP_HOST}/\$1 \[L,R\] EOF