Your upstream app would need to be aware of the subpath. See this article which explains the problem: