Browse Source

new: [odoo-tecnativa] longpolling is now managed via ``workers`` options.

master
Valentin Lab 6 years ago
parent
commit
d8b250a8b4
  1. 10
      compose.yml

10
compose.yml

@ -4,27 +4,25 @@ 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: |
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/
# ssl:
# letsencrypt:
# challenge-type: http ## if 'dns', be sure to prepare 'env' correctly

Loading…
Cancel
Save