I’ve seen many references to configuring reverse proxies to map “/” to a backend Discourse site, but I haven’t seen examples where something other than slash is mapped. For example, I would like to establish a reverse proxy to map multiple Discourse sites by qualifying the URL after the host/domain name.
ProxyPreserveHost On ProxyRequests Off ProxyPass /meta/ http://<IP address 1>/ ProxyPassReverse /meta/ http://<IP address 1>/ ProxyPass /foo/ http://<IP address 2>/ ProxyPassReverse /foo/ http://<IP address 2>/
When this approach is taken, the main page is loaded, but all references back to the site lack the “/meta/” qualifier and result in 404s.
Is it feasible to prefix Discourse sites addresses in this manner?
I’d prefer not to use different FQDNs to distinguish between sites.