docker_images/caddy/common

20 lines
556 B
Plaintext
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Common snippets
(global) {
grace_period 5s
log http.log.access {
include http.log.access
output stdout
level INFO
format formatted "[{ts}] {request>remote_addr} {request>headers>X-Forwarded-For} {request>method} {request>host}{request>uri} {status} {request>headers>User-Agent} {request>headers>Referer}" {
time_format "02/Jan/2006:15:04:05-0700"
}
}
}
(odoo) {
reverse_proxy {args.0}:8069
reverse_proxy /longpolling/* {args.0}:8072
encode zstd gzip
}