12 lines
312 B
Caddyfile
12 lines
312 B
Caddyfile
# Caddy gets and renews the HTTPS certificate by itself.
|
|
# Replace anybot.example.com with your own domain (its DNS must point to this server).
|
|
anybot.example.com {
|
|
encode gzip
|
|
reverse_proxy relay:8080 {
|
|
# The phone's "anything new?" request waits up to 35 s.
|
|
transport http {
|
|
read_timeout 60s
|
|
}
|
|
}
|
|
}
|