mirror of
https://github.com/XTLS/Xray-examples.git
synced 2024-11-09 18:43:13 +00:00
Fix caddy reverse proxy latency (#195)
This commit is contained in:
parent
34d78cc926
commit
129be747c3
|
@ -4,6 +4,7 @@ xx.com {
|
||||||
path /ServiceName/* # 修改为你自己的 ServiceName,且仅能存在两个斜杠。(如:/MyService/ServiceName/*会导致错误)
|
path /ServiceName/* # 修改为你自己的 ServiceName,且仅能存在两个斜杠。(如:/MyService/ServiceName/*会导致错误)
|
||||||
}
|
}
|
||||||
reverse_proxy @grpc unix//dev/shm/Xray-VLESS-gRPC.socket {
|
reverse_proxy @grpc unix//dev/shm/Xray-VLESS-gRPC.socket {
|
||||||
|
flush_interval -1
|
||||||
transport http {
|
transport http {
|
||||||
versions h2c
|
versions h2c
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue