From 32b28c2e0965bd5a60d27ae161c6396c108a89b0 Mon Sep 17 00:00:00 2001 From: Valentin Lab Date: Tue, 23 Oct 2018 17:33:58 +0200 Subject: [PATCH] new: longpolling temporary compose solution --- compose.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/compose.yml b/compose.yml index dff67f4..bf40763 100644 --- a/compose.yml +++ b/compose.yml @@ -7,6 +7,7 @@ odoo: # ## Important to keep as a list: otherwise it'll overwrite charm's arguments. # command: # - "--log-level=debug" + # - "--workers=2" ## needed for long-polling # environment: # TOTO: TATA # image: mynewimage @@ -23,6 +24,11 @@ odoo: RewriteEngine On RewriteCond %{HTTPS} off RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [R=302,L,QSA] + + ## Uncomment for longpolling (don't forget --workers>=1) + #ProxyPass /longpolling/ http://odoo:8072/longpolling/ + #ProxyPassReverse /longpolling/ http://odoo:8072/longpolling/ + ssl: letsencrypt #server-aliases: # - mydomain2.org