Browse Source

new: longpolling temporary compose solution

master
Valentin Lab 6 years ago
parent
commit
32b28c2e09
  1. 6
      compose.yml

6
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

Loading…
Cancel
Save