|
Since the manual steps of this process modify the Stash distribution, you will need to repeat Steps 1-6 each time you upgrade Stash. |
Changing the context path for Stash:
bin/stop-stash.bat on Windows or bin/stop-stash.sh on OSX or Linux.Edit conf/server.xml and find the element below:
<Context path="" docBase="${catalina.home}/atlassian-stash" reloadable="false" useHttpOnly="true"/> |
Update the path attribute to reflect the context path that you want Stash to be accessible at, e.g. "/stash":
<Context path="/stash" docBase="${catalina.home}/atlassian-stash" reloadable="false" useHttpOnly="true"/> |
Then save the file.
bin/start-stash.bat on Windows or bin/start-stash.sh on OSX or Linux.Once Stash has started, go to the administration area and click Server Settings (under 'Settings'). Add the new context path to your base URL:
https://my-stash-hostname:7990/stash |
Click Save.
Note that if you are running Stash behind Apache:
|