Reverse Proxy Assets

I have a reverse proxy set up for Discourse which works (somewhat), but the assets (JS and CSS) are loaded from the domain root, not relative to the /forum path. I couldn’t find anything about it in the settings, is there a way to configure Discourse to load assets relative to the /forum?

Follow Subfolder support with Docker closely.