OK, what you need then is not the subdomain install you’re kinda-sorta putting together now, but a subfolder install. Then, it’d probably be best just to throw out haproxy altogether and configure Apache to proxy <Location /forum>
to localhost:8888
(or wherever you’ve got Discourse mapped to).
4 Likes