IIS Proxying to Stash

I just installed and configured Stash and it is running at its default location of localhost:7990. I am able to access this locally without any problems. In order to proxy remote requests to Stash I set up IIS to reverse proxy all request to www.domain.com/stash/ to localhost:7990. I acheived this through IIS URL Rewrite without changing any of the configurations of Stash's Tomcat. If I navigate to the www.domain.com/stash/ the page appears and everything seems like it's working fine. However when I go to the Administration panel and try to configure specific settings, i.e. Application Links, it seems as though (looking at Chrome's Developer Tools) that the some resources referencing www.domain.com/* instead of www.domain.com/stash/* which causes the page not to load. Additionally, if I try to save any of the settings in i.e. Server Settings instead of redirecting me back to the current page and saving the settings it redirects me back to www.domain.com/*. As a result of these errors I get 404 errors and other wierd page loading artifacts. Is there anyway to get this to functioning correctly without having to change the context of Stash, this being routing everything to and from www.domain.com/stash/*?

2 answers

1 accepted

Looks like the context path fixed it.

Looks like adding the context path fixed it.

Suggest an answer

Log in or Join to answer
Community showcase
Alexey Matveev
Published Saturday in Jira

How to run Jira in a docker container

Everything below is tested on Ubuntu 17.10. I prefer to use Jira in a docker container because: 1. I can install Jira with a couple of commands. 2. I can start and stop Jira just by starting and s...

113 views 2 5
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot