mirror of
https://github.com/WJQSERVER-STUDIO/ghproxy.git
synced 2026-02-03 08:11:11 +08:00
update caddyfile
This commit is contained in:
parent
c2af045019
commit
580865d082
1 changed files with 7 additions and 1 deletions
|
|
@ -13,6 +13,9 @@
|
|||
roll_keep 10
|
||||
}
|
||||
}
|
||||
servers :80 {
|
||||
protocals h1 h2c
|
||||
}
|
||||
}
|
||||
|
||||
(log) {
|
||||
|
|
@ -68,8 +71,11 @@
|
|||
|
||||
:80 {
|
||||
reverse_proxy {
|
||||
to h2c://127.0.0.1:8080
|
||||
to 127.0.0.1:8080
|
||||
import header_realip
|
||||
transport http {
|
||||
versions 1.1 2 h2c
|
||||
}
|
||||
}
|
||||
import log ghproxy
|
||||
import cache 0s 300s
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue