Fix caddy reverse proxy latency (#195)

This commit is contained in:
xor 2024-08-26 22:22:31 +08:00 committed by GitHub
parent 34d78cc926
commit 129be747c3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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
} }