From b22cbe879eb5e6fdfe39225e533356136253534f Mon Sep 17 00:00:00 2001 From: Mathieu Benoit Date: Tue, 23 Apr 2024 00:50:09 -0400 Subject: [PATCH] =?UTF-8?q?[UPD]=C2=A0remove=20netrpc=5Finterface=20from?= =?UTF-8?q?=20configuration?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 3 +-- doc/PRODUCTION.md | 5 ++--- script/generate_config.sh | 1 - 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 5aa9ad1..d4e5f2e 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/doc/PRODUCTION.md b/doc/PRODUCTION.md index 48e46a0..45b3066 100644 --- a/doc/PRODUCTION.md +++ b/doc/PRODUCTION.md @@ -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]` diff --git a/script/generate_config.sh b/script/generate_config.sh index 6ce03a3..80a7ad6 100755 --- a/script/generate_config.sh +++ b/script/generate_config.sh @@ -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}