mirror of
https://github.com/XTLS/Xray-examples.git
synced 2025-06-28 21:26:06 +08:00
Delete Caddyfile
This commit is contained in:
parent
03901461bf
commit
251d73cd06
@ -1,27 +0,0 @@
|
|||||||
xx.com {
|
|
||||||
@ws {
|
|
||||||
path /ws
|
|
||||||
header Connection *Upgrade*
|
|
||||||
header Upgrade websocket
|
|
||||||
}
|
|
||||||
@grpc {
|
|
||||||
protocol grpc
|
|
||||||
}
|
|
||||||
reverse_proxy @ws {
|
|
||||||
to http://127.0.0.1:2001
|
|
||||||
}
|
|
||||||
reverse_proxy @grpc {
|
|
||||||
to h2c://127.0.0.1:2002
|
|
||||||
transport http {
|
|
||||||
versions h2c 2
|
|
||||||
}
|
|
||||||
}
|
|
||||||
reverse_proxy /h2 {
|
|
||||||
to h2c://127.0.0.1:2003
|
|
||||||
transport http {
|
|
||||||
versions h2c 2
|
|
||||||
}
|
|
||||||
}
|
|
||||||
root * /var/www
|
|
||||||
file_server
|
|
||||||
}
|
|
Loading…
x
Reference in New Issue
Block a user