[FIX]Odoo16 <> Caddy websocket fix

This commit is contained in:
Fabien BOURGEOIS 2022-11-05 17:35:21 +01:00
parent b94a2bf921
commit a69487781b
2 changed files with 6 additions and 1 deletions

View File

@ -24,6 +24,6 @@
(odoo16) {
reverse_proxy {args.0}:8069
reverse_proxy /websocket/* {args.0}:8072
reverse_proxy /websocket {args.0}:8072
encode zstd gzip
}

View File

@ -1,5 +1,10 @@
import /caddycommon
# Global
{
import dev
}
{$ODOO_SERVER_NAMES} {
import odoo16 {$ODOO_SERVICE}
}