|
|
@ -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 |
|
|
|