From 7423cfa8f8f1586a5f1337b0d21d1c73ce546f29 Mon Sep 17 00:00:00 2001 From: tsm-odoo Date: Tue, 11 Oct 2022 15:22:04 +0000 Subject: [PATCH] [IMP] install: add $connection_upgrade map documentation Before this commit, following the install documentation to setup the odoochat server would fail. This was due to the fact that the documentation about how to define the `$connection_upgrade` variable was missing. This PR fixes this issue. closes odoo/documentation#2829 X-original-commit: 9ed3575f197e57bea40b42ccbee12a281b44ce9d Signed-off-by: Victor Feyens (vfe) Signed-off-by: Stockbauer Matthieu (tsm) --- content/administration/install/deploy.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/content/administration/install/deploy.rst b/content/administration/install/deploy.rst index 908f3e56e..17838a9d5 100644 --- a/content/administration/install/deploy.rst +++ b/content/administration/install/deploy.rst @@ -290,6 +290,10 @@ in ``/etc/nginx/sites-enabled/odoo.conf`` set: upstream odoochat { server 127.0.0.1:8072; } + map $http_upgrade $connection_upgrade { + default upgrade; + '' close; + } # http -> https server {