Stash logo displays localhost
症状
The Stash logo displays localhost and all the other links point to the right domain I expect them to.
The following image illustrates the issue:
原因
It could be that:
- Your
server.xml
is not properly configured (this issue usually occurs after upgrading Stash). After upgrading Stash, you need to manually add previous customisations existent in your previousserver.xml
to your newserver.xml
. - Your proxy is not properly configured.
ソリューション
- Your
server.xml
needs to be configured as described on the step "Update any custom configurations" of the Stash upgrade guide document. Usually the parametersredirectPort , scheme , proxyName and proxyPort
are missing from your newserver.xml
installation and a diff between the twoserver.xml
files (new against old installation) should show that. For specific instructions on how yourserver.xml
should be configured, please refer to the Proxying and securing Stash which will contain your specific set up.- Notice that adding these parameters to
server.xml
requires a restart on your instance before it takes effect.
- Notice that adding these parameters to
- Stash uses the 'Host' HTTP header which is being sent via your proxy. Please refer to our Proxying and securing Stash document to configure your proxy correctly according to your scenario.
- For example, as can be seen on this discussion, not configuring the setting of the Host http header might cause the issue on Nginx: proxy_set_header Host $host
Answers discussion
Refer to Changing Base URL of Stash doesn't seem to work for discussion on this issue.
最終更新日: 2016 年 2 月 23 日
Powered by Confluence and Scroll Viewport.