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

Accepted Answer
0 votes

Looks like the context path fixed it.

Looks like adding the context path fixed it.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published 9 hours ago in Jira Ops

Jira Ops Early Access Program Update #1: Announcing our next feature and a new integration

Thanks for signing up for Jira Ops! I’m Matt Ryall, leader for the Jira Ops product team at Atlassian. Since this is a brand new product, we’ll be delivering improvements quickly and sharing updates...

149 views 0 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