1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/libreerp_ynh.git synced 2024-09-03 19:36:13 +02:00

[fix] Multiinstance

This commit is contained in:
ljf 2018-12-16 23:08:56 +01:00
parent b557245b5e
commit a1e17edb35
4 changed files with 29 additions and 1 deletions

View file

@ -20,7 +20,7 @@ location @{{ app }} {
proxy_send_timeout 720s;
}
location /longpolling {
proxy_pass http://127.0.0.1:8072;
proxy_pass http://127.0.0.1:{{ port_chat }};
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-Proto $scheme;

View file

@ -12,3 +12,5 @@ dbfilter = ^{{ db_name }}$
logfile = /var/log/{{ app }}.log
xmlrpc_interface = 127.0.0.1
netrpc_interface = 127.0.0.1
xmlrpc_port = {{ port }}
longpolling_port = {{ port_chat }}

View file

@ -0,0 +1,13 @@
diff --git a/addons/web/views/webclient_templates.xml b/addons/web/views/webclient_templates.xml
index 5fa62beb761..124ab72d45a 100644
--- a/addons/web/views/webclient_templates.xml
+++ b/addons/web/views/webclient_templates.xml
@@ -253,7 +253,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no"/>
- <title t-esc="title or 'Odoo'"/>
+ <title t-esc="title or 'LibreERP'"/>
<link type="image/x-icon" rel="shortcut icon" t-att-href="x_icon or '/web/static/src/img/favicon.ico'"/>
<script type="text/javascript">

View file

@ -0,0 +1,13 @@
diff --git a/addons/web/views/webclient_templates.xml b/addons/web/views/webclient_templates.xml
index cb1184e3565..2b921b9c6d9 100644
--- a/addons/web/views/webclient_templates.xml
+++ b/addons/web/views/webclient_templates.xml
@@ -331,7 +331,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no"/>
- <title t-esc="title or 'Odoo'"/>
+ <title t-esc="title or 'LibreERP'"/>
<link type="image/x-icon" rel="shortcut icon" t-att-href="x_icon or '/web/static/src/img/favicon.ico'"/>
<script type="text/javascript">