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}