mirror of
https://github.com/lush2020/edgetunnel.git
synced 2026-03-24 00:48:39 +08:00
add caddy
This commit is contained in:
@@ -1,11 +1,13 @@
|
|||||||
http://:{$PORT} {
|
http://:{$PORT} {
|
||||||
root * /root/html
|
root * /root/html
|
||||||
|
file_server
|
||||||
|
# http2 not support by heroku yet
|
||||||
reverse_proxy /h2 127.0.0.1:8082 {
|
reverse_proxy /h2 127.0.0.1:8082 {
|
||||||
transport http {
|
transport http {
|
||||||
versions h2c
|
versions h2c
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
file_server
|
|
||||||
@websockets {
|
@websockets {
|
||||||
header Connection *Upgrade*
|
header Connection *Upgrade*
|
||||||
header Upgrade websocket
|
header Upgrade websocket
|
||||||
|
|||||||
Reference in New Issue
Block a user