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

This widget could not be displayed.

Looks like the context path fixed it.

This widget could not be displayed.

Looks like adding the context path fixed it.

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in Teamwork

What teamwork quotes inspire you?

Hey everyone! My name is Natalie and I'm an editor of the Atlassian Blog and I've got a question for you: What's your favorite quote about teamwork?  We've compiled a list here, along with...

171 views 18 7
Join discussion

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