Because Odoo needs you to redirect requests to URLs starting with
/longpolling to its longpolling port (
8072 by default) when you configure
it in workers mode.
Available environment variables
Defines a host that must be forced. For instance, if your instance resides on
example.org but you
want users to get redirected to
www.example.com no matter where they came
from, you should set
www.example.com in this variable (default: empty).
Defines if the proxy should add the
X-Forwarded-* headers to the request
1 (yes)). If you disable it, it must be because those are already
added by another proxy before this one.
Defines where Odoo's longpolling port is listening (default:
Defines where the Odoo backend is listening (default:
If you use this container, it means you should enable Odoo's proxy mode.
If you need SSL, then this is not for you. Better go for
haproxy-letsencrypt, which includes an Odoo mode.
Please send any feedback (issues, questions) to the issue tracker.