Apache configuration for ERPNEXT

Can anyone share Apache reverse proxy configuration for ERPNEXT ? Only nginx configuration is generated by the installation scripts.

In case you didn’t get this resolved yet, I have been using this configuration in Apache for erpnext hosted at an internal IP address

    RewriteEngine on
    RewriteCond ${HTTP:Upgrade} websocket [NC]
    RewriteCond ${HTTP:Connection} upgrade [NC]
    RewriteRule .* "wss:/erpnext.local/$1" [P,L]
    ProxyPass / "http://erpnext.local/"
    ProxyPassReverse / "http://erpnext.local/"

Where erpnext.local resolves to the IP address of the erpnext host.

1 Like

Thank you. But after much failed tinkering I moved to Nginx to make everything work smoothly.