How to add a Context Root or Web Context to UpSource


The "upsource help configure" command simply says to use a key=value type thing, but doesn't list any keys (that might have been helpful...)

I have a site with multiple services and so for proxyPass to work correctly, I need to set a context root of upsource to the UpSource service.  Basically my external https://mysite.com/upsource  will proxy and proxy reverse to http://upsource.internal.server:8080/upsource

I know historically that most apps will look for folders using a slash e.g. /imgs and so proxying from a context root to a non-context root won't work correctly e.g. https://mysite.com/upsource to http://upsource.internal.server:8080/  will not work since e.g. /imgs/image.jpg will look for mysite.com/imgs/image.jpg and that simply won't be there and muck everything up like the css and images, etc.

In other words, I'm looking for a way e.g. using the configure command to add a context root or web context or whatever you call it.   

Pls. advise.  Our company will probably have 50 externally and up to 2000 if it's useful internally.  


THanks,
1 comment
Comment actions Permalink

Hi Moe,

Unfortunately support static content for non-root context is not implemented yet. This feature is planned for the next Upsource version. We have an issue in our bug tracker for that - https://youtrack.jetbrains.com/issue/UP-2326 you can upvote it and track the progress.

Let me know if you have any other questions.


0

Please sign in to leave a comment.