I'd like to write an app in such a way that it is independent of its base URL. That is, I want to move the app to http://example.org/app or http://example.org/sub/app without any modification to the code (or config).
For an app distributed as a docker image, the app internally, in its container, runs at //localhost/. From the outside world, all accesses to the app must go through a reverse proxy, which creates a site from multiple containered apps. I want to be able to "mount" each app at an arbitrary location in the site's hierarchy. The trick is to achieve this without hard-coding in each app the location where it is externally visible. I'm not sure if it is possible at all. Michael -- Michael Schuerig mailto:[email protected] http://www.schuerig.de/michael/ -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
