|
Since the manual steps of this process modify the Stash distribution, you will need to repeat Steps 1-6 each time you upgrade Stash. See the Stash upgrade guide. |
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'). Append the new context path to your base URL:
https://my-stash-hostname:7990/stash |
保存をクリックします。
Note that if you are running Stash behind Apache:
|
If you had Application Links set up before changing the context path in Stash, you will have to recreate those using the new Stash URL. See Linking Stash with JIRA. |