Skip to content

Commit

Permalink
Update 2_Caddyfile
Browse files Browse the repository at this point in the history
  • Loading branch information
lxhao61 committed Jul 21, 2021
1 parent 37450ce commit cb4e9df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions v2ray(vless\trojan+tcp+tls)+caddy/2_Caddyfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
level ERROR
}
auto_https off #禁用自动https
servers unix//dev/shm/h1h2c.sock { #与下边进程监听对应
servers unix//dev/shm/h1h2c.sock { #与下边监听进程对应
protocol {
allow_h2c #开启h2c server支持
}
Expand All @@ -17,7 +17,7 @@
}

:88 { #绑定进程后此端口失效,仅做标记作用。
bind unix//dev/shm/h1h2c.sock #绑定h1h2c.sock监听进程,仅接收web回落。
bind unix//dev/shm/h1h2c.sock #http/1.1与h2c server监听进程

@host {
host xx.yy #限定域名访问(禁止以ip方式访问网站),更改为自己的域名。
Expand Down

0 comments on commit cb4e9df

Please sign in to comment.