[fix] Multiinstance
This commit is contained in:
parent
b557245b5e
commit
a1e17edb35
4 changed files with 29 additions and 1 deletions
|
@ -20,7 +20,7 @@ location @{{ app }} {
|
||||||
proxy_send_timeout 720s;
|
proxy_send_timeout 720s;
|
||||||
}
|
}
|
||||||
location /longpolling {
|
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 Host $host;
|
||||||
proxy_set_header X-Real-IP $remote_addr;
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
proxy_set_header X-Forwarded-Proto $scheme;
|
proxy_set_header X-Forwarded-Proto $scheme;
|
||||||
|
|
|
@ -12,3 +12,5 @@ dbfilter = ^{{ db_name }}$
|
||||||
logfile = /var/log/{{ app }}.log
|
logfile = /var/log/{{ app }}.log
|
||||||
xmlrpc_interface = 127.0.0.1
|
xmlrpc_interface = 127.0.0.1
|
||||||
netrpc_interface = 127.0.0.1
|
netrpc_interface = 127.0.0.1
|
||||||
|
xmlrpc_port = {{ port }}
|
||||||
|
longpolling_port = {{ port_chat }}
|
||||||
|
|
13
sources/patches/11-02-replace-title-bis.patch
Normal file
13
sources/patches/11-02-replace-title-bis.patch
Normal 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">
|
13
sources/patches/12-02-replace-title-bis.patch
Normal file
13
sources/patches/12-02-replace-title-bis.patch
Normal 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">
|
Loading…
Reference in a new issue