From d8b250a8b47260d8b08c9b6d1210da34e5864166 Mon Sep 17 00:00:00 2001 From: Valentin Lab Date: Sat, 15 Dec 2018 14:29:09 +0100 Subject: [PATCH] new: [odoo-tecnativa] longpolling is now managed via ``workers`` options. --- compose.yml | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/compose.yml b/compose.yml index b4cf3ae..30f4305 100644 --- a/compose.yml +++ b/compose.yml @@ -4,26 +4,24 @@ mydomain.org: # ## 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 + # options: + # workers: 4 relations: web-proxy: frontend: #domain: mydomain.org #server-aliases: # - mydomain2.org - apache-custom-rules: | - ## Auto-redirection from http to https - 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/ + apache-custom-rules: + - | + ## Auto-redirection from http to https + RewriteEngine On + RewriteCond %{HTTPS} off + RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [R=302,L,QSA] # ssl: # letsencrypt: