简体   繁体   English

如何将自定义域添加到 IBM 云引擎

[英]How to add a custom domain to IBM cloud engine

we are migrating from IBM Cloud Foundry Orgs (as they are depreciated ) to ibm cloud engine.我们正在从 IBM Cloud Foundry Orgs(因为它们已折旧)迁移到 ibm 云引擎。

but what seems impossible is the "routes" option that was available in CF (cloud foundry).但似乎不可能的是 CF(云代工)中可用的“路由”选项。 With CF we could just CNAME the custom domain to eu-de.cf.appdomain.cloud and add it to the routes of the application.使用 CF,我们可以将自定义域 CNAME 到eu-de.cf.appdomain.cloud并将其添加到应用程序的路由中。

With cloud engine, the only way we can setup a custom domain is explained here , but this requires an extra service from cloudflare.使用云引擎, 这里解释了我们可以设置自定义域的唯一方法,但这需要来自 cloudflare 的额外服务。

Is there a way to migrate the CF setup to IBM cloud engine without the Cloudflare worker?有没有办法在没有 Cloudflare 工作者的情况下将 CF 设置迁移到 IBM 云引擎?

At the moment that is not possible.目前这是不可能的。 That being said the Code Engine team is working on a solution to enable this without requiring requiring an extra service (although the proposed cloudflare service in the blog is free AFAIK)话虽如此,代码引擎团队正在研究一种无需额外服务即可实现此功能的解决方案(尽管博客中提议的 cloudflare 服务是免费的 AFAIK)

Another option is to deploy a proxy on your own and use it to handle the domains .另一种选择是自行部署代理并使用它来处理域 I have used Traefik for it, but nginx and others should work, too.我已经使用了 Traefik,但是 nginx 和其他的也应该可以工作。 I deployed the proxy to a Kubernetes cluster which worked well.我将代理部署到运行良好的 Kubernetes 集群。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM