diff --git a/install/0.9.7/rhel/dovecot/dovecot.conf b/install/0.9.7/rhel/dovecot/dovecot.conf index 0a8553510..b44bd6a82 100644 --- a/install/0.9.7/rhel/dovecot/dovecot.conf +++ b/install/0.9.7/rhel/dovecot/dovecot.conf @@ -1,4 +1,4 @@ protocols = imap pop3 -listen = *, :: +listen = * base_dir = /var/run/dovecot/ !include conf.d/*.conf diff --git a/install/vst-install.sh b/install/vst-install.sh index f1bb1f16e..5ba5e8a05 100644 --- a/install/vst-install.sh +++ b/install/vst-install.sh @@ -494,12 +494,10 @@ if [ "$?" -ne 0 ]; then fi # Nginx configuration +rm -f /etc/nginx/conf.d/*.conf wget $CHOST/$VERSION/nginx.conf -O /etc/nginx/nginx.conf wget $CHOST/$VERSION/nginx-status.conf -O /etc/nginx/conf.d/status.conf -rm -f /etc/nginx/conf.d/vesta_ip.conf -touch /etc/nginx/conf.d/vesta_ip.conf -rm -f /etc/nginx/conf.d/vesta_users.conf -touch /etc/nginx/conf.d/vesta_users.conf +touch /etc/nginx/conf.d/vesta.conf chkconfig nginx on service nginx start if [ "$?" -ne 0 ]; then