Open LittleRey opened 4 years ago
How do you config your cf worker's route? It should be filled in like this https://proxy.buildtest.club/*
. The *
at the back is indispensable.
How do you config your cf worker's route? It should be filled in like this
https://proxy.buildtest.club/*
. The*
at the back is indispensable.
I try to add /*,It works,thanks
能告诉我怎么做到自定义域名的吗?我直接在另一个域名上加cname好像不行的样子,需要修改什么地方吗?我的cf work域名是google.cqupt.workers.dev,然后我想自定义域名google.cqupt.site 做一个cname指向google.cqupt.workers.dev,但是他报错了
下面是google翻译的英文版,希望您能看懂: The following is the English version of google translation, I hope you can understand: Can you tell me how to do a custom domain name? I don't seem to be able to add cname directly to another domain. What needs to be modified? My cf work domain name is google.cqupt.workers.dev, then I want to customize the domain name google.cqupt.site to make a cname pointing to google.cqupt.workers.dev, but he Wrong
能告诉我怎么做到自定义域名的吗?我直接在另一个域名上加cname好像不行的样子,需要修改什么地方吗?我的cf work域名是google.cqupt.workers.dev,然后我想自定义域名google.cqupt.site 做一个cname指向google.cqupt.workers.dev,但是他报错了
下面是google翻译的英文版,希望您能看懂: The following is the English version of google translation, I hope you can understand: Can you tell me how to do a custom domain name? I don't seem to be able to add cname directly to another domain. What needs to be modified? My cf work domain name is google.cqupt.workers.dev, then I want to customize the domain name google.cqupt.site to make a cname pointing to google.cqupt.workers.dev, but he Wrong
好了我解决了,想要自定义域名还是得开个服务器
能告诉我怎么做到自定义域名的吗?我直接在另一个域名上加cname好像不行的样子,需要修改什么地方吗?我的cf work域名是google.cqupt.workers.dev,然后我想自定义域名google.cqupt.site 做一个cname指向google.cqupt.workers.dev,但是他报错了
下面是google翻译的英文版,希望您能看懂: The following is the English version of google translation, I hope you can understand: Can you tell me how to do a custom domain name? I don't seem to be able to add cname directly to another domain. What needs to be modified? My cf work domain name is google.cqupt.workers.dev, then I want to customize the domain name google.cqupt.site to make a cname pointing to google.cqupt.workers.dev, but he Wrong
你需要将域名的DNS托管在Cloudflare上. Cloudflare的dashboard上面有worker相关的配置, 需要在里面配置route之后, CNAME记录才会正常生效.
详细信息可以参考这个页面:
https://developers.cloudflare.com/workers/about/routes/#matching-behavior
@chenshiforever You need add a worker route
/*
example:
www.bulidtest.club/*
I add a CNAME record to the jsproxy of cf worker, add a routes on cf worker manage panel Then visit https://proxy.buildtest.club/ show me: Failed to register a ServiceWorker: A bad HTTP response code (523) was received when fetching the script.