Running Postleaf with Apache

If you want to use Apache instead of Nginx as a reverse proxy, here's a sample config that will get you started.

<VirtualHost *:80>

    ProxyRequests off

    <Proxy *>
        Order deny,allow
        Allow from all

    <Location />
        ProxyPass http://localhost:3000/
        ProxyPassReverse http://localhost:3000/

Make sure to change the highlighted values to match your own domain and the port that Postleaf is running on.

If you don't need the www subdomain, you can delete that line entirely.