1
0
mirror of https://github.com/proxysu/ProxySU.git synced 2024-11-23 05:36:08 +03:00
ProxySU/TemplateConfg/v2ray/caddy/WebSocketTLSWeb.caddyfile

16 lines
415 B
Plaintext
Raw Normal View History

2020-03-20 15:12:11 +03:00
##domain## {
root * /usr/share/caddy
file_server
tls {
protocols tls1.2 tls1.3
ciphers TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256
curves x25519
}
@v2ray_websocket {
path ##path##
header Connection *Upgrade*
header Upgrade websocket
}
reverse_proxy @v2ray_websocket localhost:10000
##sites##
2020-03-20 15:12:11 +03:00
}