# RayMail — stage 1 (pre-TLS). Serves the ACME challenge and proxies plain HTTP. # Replaced by raymail.conf once the certificate is issued. ServerName @@DOMAIN@@ Alias /.well-known/acme-challenge/ /var/www/letsencrypt/.well-known/acme-challenge/ Require all granted ProxyPass /.well-known/acme-challenge/ ! ProxyPreserveHost On ProxyPass / http://127.0.0.1:3880/ ProxyPassReverse / http://127.0.0.1:3880/ ErrorLog ${APACHE_LOG_DIR}/raymail-error.log CustomLog ${APACHE_LOG_DIR}/raymail-access.log combined