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.
Set the relative_url_root option in your discourse.conf to the path prefix for each instance (eg relative_url_root = /meta). This should instruct Rails to generate paths with the specified prefix prepended. You’ll need to restart the app in order for the setting to take effect.
Excellent. Worked great! Per the discussion posts, I had to also set the long polling base url to specify the subfolder in the form of /subfolder/, but once that was done uploads and some other features started working properly.