18 lines
235 B
Caddyfile
Raw Normal View History

2017-12-09 19:03:50 +08:00
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
}
}