v3中使用自定义域

v3中使用自定义域

本文介绍了在Openshift v3中使用自定义域的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在尝试使用Openshift Online v3托管Web应用程序.它可以在Red Hat提供的域中正常工作,但是我无法使路由正常工作,从而使其无法在其他任何域中工作.我得到的是:

I've been trying to use Openshift Online v3 to host a web app. It works fine with the red hat-provided domain, but I can't get the routing working to get it to work on any other domain. all I get is:

应用程序不可用

该应用程序当前不在此端点上处理请求.它可能尚未启动或仍在启动.

The application is currently not serving requests at this endpoint. It may not have been started or is still starting.

您看到此页面的可能原因:

Possible reasons you are seeing this page:

The host doesn't exist. Make sure the hostname was typed correctly and that a route matching this hostname exists.
The host exists, but doesn't have a matching path. Check if the URL path was typed correctly and that the route was created using the desired path.
Route and path matches, but all pods are down. Make sure that the resources exposed by this route (pods, services, deployment configs, etc) have at least one pod running.

有人知道如何在Openshift v3中创建自定义域吗?

Does anybody know how to do a custom domain in Openshift v3?

推荐答案

与OpenShift Online Developer Preview一样,GA免费提供的 OpenShift在线入门级不支持自定义域.自定义域仅在完整的付费层可用时才可用.在此期间,唯一的选择是在前面使用代理.一种选择是使用Cloudflare作为该代理.

As was the case with OpenShift Online Developer Preview, the GA free OpenShift Online starter tier does not support custom domains. Custom domains will only be available when the full paid tier is available. The only option in the interim is to use a proxy in front. One option is to use Cloudflare as that proxy.

这篇关于在Openshift v3中使用自定义域的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-03 19:14