I use Pound proxy in front of Apache, so Pound listens to port 80 and Apache - to port 8888, and I am now trying to figure out how to configure Pound to pass requests to /home/username/public_html/.well-known for seamless Let's Encrypt generation and renewal. Like it can be done with nginx as discussed on Exclude Let's Encrypt http requests from nginx https redirect, Lets Encrypt with an nginx reverse proxy or https://community.letsencrypt.org/t/404-on-well-known-acme-challenge/15565/15.
Unfortunately, the documentation on http://www.apsis.ch/pound does not mention any proxy pass directives. Could anyone recommend how to configure Pound to pass requests to certain directories?
My configuration for now is something like:
ListenHTTP
Address 1.2.3.4
Port 80
Service
HeadRequire "Host:.*some1.myserver.net.*"
Redirect "https://some1.myserver.net"
End
Service
HeadRequire "Host:.*some2.myserver.net.*"
Redirect "https://some2.myserver.net"
End
End
ListenHTTPS
Address 1.2.3.4
Port 443
# first domain
Cert "/etc/pki/tls/letsencrypt_pound/pound_some1.pem"
# second domain
Cert "/etc/pki/tls/letsencrypt_pound/pound_some2.pem"
Disable SSLv3
End