2022-02-21 14:35:06 +01:00
|
|
|
# Common snippets
|
|
|
|
|
|
|
|
(global) {
|
|
|
|
grace_period 5s
|
|
|
|
log http.log.access {
|
|
|
|
include http.log.access
|
|
|
|
output stdout
|
|
|
|
level INFO
|
2022-04-21 19:12:26 +02:00
|
|
|
format console
|
2022-02-21 14:35:06 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
(odoo) {
|
2022-03-04 13:57:10 +01:00
|
|
|
reverse_proxy {args.0}:8069 {
|
|
|
|
header_up X-Forwarded-Host {host}
|
|
|
|
}
|
|
|
|
reverse_proxy /longpolling/* {args.0}:8072 {
|
|
|
|
header_up X-Forwarded-Host {host}
|
|
|
|
}
|
2022-02-21 14:35:06 +01:00
|
|
|
encode zstd gzip
|
|
|
|
}
|