diff --git a/odoo_install_nginx.sh b/odoo_install_nginx.sh index 8c7e0fa..a8e34a7 100644 --- a/odoo_install_nginx.sh +++ b/odoo_install_nginx.sh @@ -148,11 +148,13 @@ sudo chown -R $OE_USER:$OE_USER $OE_HOME/* echo -e "* Create server config file" + sudo touch /etc/${OE_CONFIG}.conf echo -e "* Creating server config file" sudo su root -c "printf '[options] \n; This is the password that allows database operations:\n' >> /etc/${OE_CONFIG}.conf" sudo su root -c "printf 'admin_passwd = ${OE_SUPERADMIN}\n' >> /etc/${OE_CONFIG}.conf" sudo su root -c "printf 'xmlrpc_port = ${OE_PORT}\n' >> /etc/${OE_CONFIG}.conf" +sudo su root -c "printf 'proxy_mode = True\n' >> /etc/${OE_CONFIG}.conf" sudo su root -c "printf 'logfile = /var/log/${OE_USER}/${OE_CONFIG}.log\n' >> /etc/${OE_CONFIG}.conf" if [ $IS_ENTERPRISE = "True" ]; then sudo su root -c "printf 'addons_path=${OE_HOME}/enterprise/addons,${OE_HOME_EXT}/addons\n' >> /etc/${OE_CONFIG}.conf"