[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`
```
#xmlrpc_interface = 127.0.0.1
#netrpc_interface = 127.0.0.1
xmlrpc_interface = 0.0.0.0
```
Ready to execute:
```bash

View file

@ -74,9 +74,8 @@ sudo systemctl -feu [EL_USER]
Comment the following line in `/[EL_USER]/erplibre/config.conf`
```
#xmlrpc_interface = 127.0.0.1
#netrpc_interface = 127.0.0.1
#proxy_mode = True
xmlrpc_interface = 0.0.0.0
proxy_mode = True
```
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
printf "workers = 2\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}
else
printf "workers = 0\n" >> ${EL_CONFIG_FILE}