apache-le-proxy.conf 469B

123456789101112
  1. # Proxy method of letsencrypt auth
  2. # a2enmod proxy proxy_http
  3. <IfModule mod_proxy.c>
  4. ProxyPass "/.well-known/acme-challenge/" "http://127.0.0.1:9999/.well-known/acme-challenge/" retry=1
  5. ProxyPassReverse "/.well-known/acme-challenge/" "http://127.0.0.1:9999/.well-known/acme-challenge/"
  6. ProxyPreserveHost On
  7. <Location "/.well-known/acme-challenge/">
  8. Order allow,deny
  9. Allow from all
  10. #Require all granted
  11. </Location>
  12. </IfModule>