Don't force SSL for acme challenges URI

tags/ipasserelle-im-0.2.18-1
Daniel Berteaud 9 years ago
parent 5d2754ce96
commit fc1e1b0fbe
  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 RewriteEngine on
RewriteCond %{REQUEST_URI} !^/.well-known/acme-challenge/.*
RewriteRule ^/(.*|\$) https://%{HTTP_HOST}/\$1 \[L,R\] RewriteRule ^/(.*|\$) https://%{HTTP_HOST}/\$1 \[L,R\]
EOF EOF

Loading…
Cancel
Save