gpt4 book ai didi

tomcat - Openshift tomcat,无法找到 server.xml 和 context.xml?

转载 作者:行者123 更新时间:2023-11-28 23:27:34 25 4
gpt4 key购买 nike

我已经在 openshift tomcat 上安装了我的应用。

我想设置从 http 到 https 的自动重定向。但是我无法在它应该在的地方找到 server.xml 和 context.xml。

https://developers.openshift.com/en/troubleshooting-faq.html#_how_do_i_redirect_traffic_to_https

我也通过 ssh 连接到 box,但在那里也找不到上下文/服务器 xml。

我对如何进行感到困惑?我应该在我的 git 仓库中定义我自己的 xml 文件吗?还是通过 sshing 手动在盒子上定义?

最佳答案

想通了。

创建应用程序后,我需要在创建的默认 git 存储库中使用 .openshift。

所以我必须将我的项目与 openshift git repo 合并。

关于tomcat - Openshift tomcat,无法找到 server.xml 和 context.xml?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34968388/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com