Don't force SSL for acme challenges URI

tags/0.2.16_el5
Daniel Berteaud 9 years ago
parent 88d7198286
commit 0eba302138
  1. 1
      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

Loading…
Cancel
Save