Skip to content

Commit

Permalink
Update 2_Caddyfile
Browse files Browse the repository at this point in the history
  • Loading branch information
lxhao61 authored Oct 14, 2022
1 parent 039c8e9 commit 528c879
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion v2ray(vless\vmess+h2c)+caddy/2_Caddyfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@
output file /var/log/caddy/access.log
level ERROR
} #版本不小于v2.4.0才支持日志全局配置,否则各自配置。
email [email protected] #电子邮件地址。选配,推荐。
}

:443, xx.yy { #xx.yy修改为自己的域名。注意:逗号与域名之间有一个空格。
tls {
ciphers TLS_AES_256_GCM_SHA384 TLS_AES_128_GCM_SHA256 TLS_CHACHA20_POLY1305_SHA256 TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256
curves x25519 secp521r1 secp384r1 secp256r1
alpn h2 http/1.1
}

reverse_proxy /SeuW56Es unix//dev/shm/vh2c.sock { #与vless+h2c或vmess+h2c应用中path对应,转发给本机vless+h2c或vmess+h2c监听进程。
Expand Down

0 comments on commit 528c879

Please sign in to comment.