update caddyfile
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user