Skip to content

请教一下,关于Xray(M+B+D+G+A)+Caddy(N+T)的配置 #180

Answered by lxhao61
wclmgcd asked this question in Q&A
Discussion options

You must be logged in to vote

1、示例中 z1.xx.yy、z3.xx.yy 表示使用两个不同域名来对应应用。当然你 VLESS+Vision+REALITY 与 NaiveProxy 可以使用同一域名,但这样 NaiveProxy 就有 TLS in TLS 问题了(被封风险)。
2、本项目示例中除非使用通配符证书,否则所有不同域名可以是同一个域名的 xx.yy 的二级域名,也可以是完全不同的域名。(随意,不影响。)
3、若不需要固定证书路径(外部引用需要),推荐 acme 和 zerossl 都配置(单一证书机构出问题不会影响证书申请)。指定 z1.xx.yy 用 acme 申请,z3.xx.yy 用 zerossl 申请见如下(不推荐):

      "automation": {
        "policies": [{
          "subjects": ["z1.xx.yy","z2.xx.yy"], //限定域名,修改为自己的。
          "issuers": [{
            "module": "acme",
            "email": "your@email.com" //修改为自己的电子邮箱。(选配)
          }]
        },
        {
          "subjects": ["z3.xx.yy"], //限定域名,修改为自己的。
          "issuers": [{
            "module": "zerossl",
            "email": "your…

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by lxhao61
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #179 on September 04, 2023 16:21.