全球主机交流论坛

标题: 请教下CF worksers中Triggers的问题 [打印本页]

作者: Amanda    时间: 2023-4-12 23:19
标题: 请教下CF worksers中Triggers的问题
之前都是用的routes,今天发现原来可以直接添加custom domains,想请教下两者的区别

看官方文档好像是推荐使用custom domains的方案
Unless that Worker acts exclusively as a proxy – meaning it will need to call fetch(request) on the incoming connection’s HTTP request to connect to an application server defined in DNS – the Custom Domain is the recommended solution.


字我都认识,但不是很明白他举例的这种情况,有没有大佬举个容易理解的具体的例子?

比如我反代节点域名使用自选IP时,两者是否有区别

或者我反代openai的api接口时,两者是否有区别




欢迎光临 全球主机交流论坛 (https://443502.xyz/) Powered by Discuz! X3.4