docker_images/caddy/common
Fabien BOURGEOIS f34f22bfe6 [FIX]Caddy : remove custom encoder to use stable
Because custom encoder enforces 2.5.0-beta...
2022-04-21 19:12:26 +02:00

22 lines
346 B
Plaintext

# Common snippets
(global) {
grace_period 5s
log http.log.access {
include http.log.access
output stdout
level INFO
format console
}
}
(odoo) {
reverse_proxy {args.0}:8069 {
header_up X-Forwarded-Host {host}
}
reverse_proxy /longpolling/* {args.0}:8072 {
header_up X-Forwarded-Host {host}
}
encode zstd gzip
}