Skip Rewrites for ACME challenges

tags/0.2.21_el5 0.2.21_el5
Daniel Berteaud 8 years ago
parent 78539da38c
commit ed4b091abf
  1. 1
      root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/WebAppVirtualHost/50Content

@ -38,6 +38,7 @@ if ($target =~ m|https?://[\d\w\.\-/]*|){
elsif ($rewrite =~ m|https?://[\d\w\.\-/]*|){
$OUT .=<<"HERE";
RewriteCond %{REQUEST_URI} !^/.well-known/acme-challenge/.*
RewriteRule /(.*|\$) $rewrite/\$1 [L,R]
HERE

Loading…
Cancel
Save