Integration of Meteor Apps behind an Apache Reverse Proxy


I’m new to Meteor. I write 2 small applications to deploy under the paths /app1 and /app2 (examples) in our “portal”. The website use Apache and I wrote some rewrite_rules to redirect the flow.

I had the very bad surprise to see absolute uri in the body of my Meteor apps like this:

I find some solution in this article:

I cannot believe that a so new framework has this kind of limitations!
My applications are based on “Todo Apps with Angular”

Please, I need your help. What I miss? How to transform absolute to relative url?

PS: I know that other HTTP Proxy are better for Meteor, but my company use Apache, and will not change.