2020-08-14 18:44:22 +08:00

12 lines
202 B
Caddyfile

https://xx.com:443 {
root * /var/www
file_server
tls xx.com.cert xx.com.key
reverse_proxy /path 127.0.0.1:2001 {
transport http {
versions h2c
}
}
}