将tomcat应用程序部署到openshift的根目录 [英] Deploy tomcat application to root in openshift
本文介绍了将tomcat应用程序部署到openshift的根目录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我将应用程序部署在tomcat容器中的openshift中,我注意到我的应用程序托管在http:///app-name/上,并且我想使用http:///
I deployed my application in openshift in tomcat container and I noticed that my app is hosted on http:///app-name/ and I want to use http:///
如何在openshift应用程序中做到这一点?
How can I do that in openshift application ?
非常感谢您的帮助.
推荐答案
You need to rename your war file to ROOT.war, then it will be available at http://app-domain.rhcloud.com/, otherwise it will be deployed at http://app-domain.rhcloud.com/<name of war file>
这篇关于将tomcat应用程序部署到openshift的根目录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文