v2fly / v2ray-step-by-step

This repo is a fork of ToutyRater/v2ray-guide, we aim to provide a new step-by-step guide of v2ray
https://guide.v2fly.org
Creative Commons Attribution 4.0 International
753 stars 426 forks source link

caddy v2 config; remove deprecated sudo for acme.sh #164

Closed Rirmach closed 4 years ago

Rirmach commented 4 years ago
  1. 通过acme.sh申请证书时,除安装证书可能需要sudo外,删去所有证书申请命令中的sudo。 参考:https://github.com/acmesh-official/acme.sh/wiki/sudo

  2. 更新Caddy v2的配置方法 log部分参考:https://caddyserver.com/docs/caddyfile/directives/log tls部分参考:https://caddyserver.com/docs/caddyfile/directives/tls path部分参考:https://caddyserver.com/docs/caddyfile/matchers#named-matchers 除自动申请证书外,该Caddy配置经测试可用。