When a stack is run behind an external reverse proxy there might be a relative path that needs to be passed to some of the containers so that they can correctly form internal links. This pull request allows the user to specify this path in the relevant stack config file. For example, if the stack's external URL is https://theworldavatar.io/demos/test1 then the hostPath should be /demos/test1. The use of this information should be passed to containers as required through the relevant Service class.
When a stack is run behind an external reverse proxy there might be a relative path that needs to be passed to some of the containers so that they can correctly form internal links. This pull request allows the user to specify this path in the relevant stack config file. For example, if the stack's external URL is
https://theworldavatar.io/demos/test1
then thehostPath
should be/demos/test1
. The use of this information should be passed to containers as required through the relevantService
class.