[UPD] remove netrpc_interface from configuration

This commit is contained in:
Mathieu Benoit 2024-04-23 00:50:09 -04:00
parent 69733c3941
commit b22cbe879e
3 changed files with 3 additions and 6 deletions

View file

@ -17,8 +17,7 @@ make install
``` ```
Update your configuration if you need to run from another interface than 127.0.0.1, file `config.conf` Update your configuration if you need to run from another interface than 127.0.0.1, file `config.conf`
``` ```
#xmlrpc_interface = 127.0.0.1 xmlrpc_interface = 0.0.0.0
#netrpc_interface = 127.0.0.1
``` ```
Ready to execute: Ready to execute:
```bash ```bash

View file

@ -74,9 +74,8 @@ sudo systemctl -feu [EL_USER]
Comment the following line in `/[EL_USER]/erplibre/config.conf` Comment the following line in `/[EL_USER]/erplibre/config.conf`
``` ```
#xmlrpc_interface = 127.0.0.1 xmlrpc_interface = 0.0.0.0
#netrpc_interface = 127.0.0.1 proxy_mode = True
#proxy_mode = True
``` ```
Add your address ip server_name in nginx config `/etc/nginx/sites-available/[EL_WEBSITE_NAME]` Add your address ip server_name in nginx config `/etc/nginx/sites-available/[EL_WEBSITE_NAME]`

View file

@ -169,7 +169,6 @@ printf "max_cron_threads = 2\n" >> ${EL_CONFIG_FILE}
if [[ ${EL_INSTALL_NGINX} = "True" ]]; then if [[ ${EL_INSTALL_NGINX} = "True" ]]; then
printf "workers = 2\n" >> ${EL_CONFIG_FILE} printf "workers = 2\n" >> ${EL_CONFIG_FILE}
printf "xmlrpc_interface = 127.0.0.1\n" >> ${EL_CONFIG_FILE} printf "xmlrpc_interface = 127.0.0.1\n" >> ${EL_CONFIG_FILE}
printf "netrpc_interface = 127.0.0.1\n" >> ${EL_CONFIG_FILE}
printf "proxy_mode = True\n" >> ${EL_CONFIG_FILE} printf "proxy_mode = True\n" >> ${EL_CONFIG_FILE}
else else
printf "workers = 0\n" >> ${EL_CONFIG_FILE} printf "workers = 0\n" >> ${EL_CONFIG_FILE}