[IMP]Caddy for odoo : no https per default

This commit is contained in:
Fabien BOURGEOIS 2022-11-05 11:43:52 +01:00
parent aaf927cbea
commit b94a2bf921
2 changed files with 11 additions and 2 deletions

View File

@ -12,6 +12,10 @@
} }
} }
(dev) {
auto_https off
}
(odoo) { (odoo) {
reverse_proxy {args.0}:8069 reverse_proxy {args.0}:8069
reverse_proxy /longpolling/* {args.0}:8072 reverse_proxy /longpolling/* {args.0}:8072

View File

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