I thought the baseUrl would suffice to work with an Apache ProxyPass approach, but it doesn't.
In this conf, the app needs to serve files at its root, while being aware the absolute URL contains another component to calculate its CSRF, and to serve the static files at the right paths.
Here are the few modifications I made for my own configuration, in case someone's interested. I'll PR a more generic solution if more people are facing this.
VirtualHost configuration
I thought the baseUrl would suffice to work with an Apache ProxyPass approach, but it doesn't.
In this conf, the app needs to serve files at its root, while being aware the absolute URL contains another component to calculate its CSRF, and to serve the static files at the right paths.
Here are the few modifications I made for my own configuration, in case someone's interested. I'll PR a more generic solution if more people are facing this. VirtualHost configuration
ProxyPass /mongo_express/ http://localhost:8081/ retry=0 ProxyPassReverse /mongo_express/ http://localhost:8081/ retry=0