I want to use my Discourse as a proxy.
For that the rails server should work as a proxy between the ember frontend and a registered remote URL.
Currently I am able to forward the HTTP response to ember and render it there.
But now I got some problems linking additional dependencies like images or stylesheets (all the stuff of the web root)
Here is an example flow diagram:
How can I make a link to these things such that the dependencies appear to be on my rails server for example in the web root?