mirror of
https://github.com/v2fly/v2ray-examples.git
synced 2025-09-18 05:04:33 +08:00
adjust name
This commit is contained in:
17
Websocket+Caddy+TLS(use header)/Caddyfile
Executable file
17
Websocket+Caddy+TLS(use header)/Caddyfile
Executable file
@@ -0,0 +1,17 @@
|
||||
https://example.domain * {
|
||||
gzip
|
||||
tls kiri_so@outlook.com
|
||||
proxy / https://www.baidu.com
|
||||
log / stdout "{request}"
|
||||
|
||||
rewrite {
|
||||
if {host} is google.com
|
||||
to /test
|
||||
}
|
||||
|
||||
proxy /test localhost:1234 {
|
||||
websocket
|
||||
without /test
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user