Skip to content

Commit

Permalink
Update 2_Caddyfile
Browse files Browse the repository at this point in the history
  • Loading branch information
lxhao61 committed Nov 6, 2022
1 parent f3d5dee commit 5a00474
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion v2ray(trojan+h2c)+caddy/2_Caddyfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
order reverse_proxy before route
admin off
log {
output file /var/log/caddy/access.log
output file /var/log/caddy/error.log
level ERROR
} #版本不小于v2.4.0才支持日志全局配置,否则各自配置。
email [email protected] #电子邮件地址。选配,推荐。
Expand Down Expand Up @@ -32,3 +32,5 @@
}
}
}
#备注:
#1、本配置仅支持申请普通TLS证书,若要申请通配符TLS证书请参考‘caddy(other configuration) (Caddy的特殊应用配置方法。)’中对应介绍及对应配置示例。

0 comments on commit 5a00474

Please sign in to comment.