关于Nginx-Cloudflare配置参数求解 #69
-
对文档中“跳转域名”和“直连域名”的定义以及cloudflare归属有点疑问:
谢谢 |
Beta Was this translation helpful? Give feedback.
Answered by
MikeWang000000
Mar 21, 2024
Replies: 1 comment 3 replies
-
这两个都填写为您域名下的子域名,按照示例文件操作即可。 另外,非 bug 问题不在 issue 板块下讨论,已转移至discussion 板块。 |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
两个域名不能是相同的。
比如
cf_redirect_host
填hello.letscoding.fun
(这个域名指会向CloudFlare的IP,由它提供跳转)比如
cf_direct_host
填nas.letscoding.fun
(这个域名会指向自家IP)访问
http://hello.letscoding.fun
(不带端口号),会跳转到http://nas.letscoding.fun:18681
。