Page 1 of 1

nginx include apache conf? why?

Posted: Thu Mar 17, 2016 11:33 am
by Светозар
Чистая инсталляция 30 минут назад.
В файле /etc/nginx/conf.d/vesta.conf следующие содержание:

Code: Select all

include /home/admin/conf/web/nginx.conf;
include /home/admin/conf/web/httpd.conf;
При этом мы получаем следующие уведомления:

Code: Select all

nginx: [emerg] unexpected end of file, expecting ";" or "}" in /home/admin/conf/web/httpd.conf:69
nginx: configuration file /etc/nginx/nginx.conf test failed
nginx: [emerg] unexpected end of file, expecting ";" or "}" in /home/admin/conf/web/httpd.conf:69
nginx: configuration file /etc/nginx/nginx.conf test failed
Зачем подключается include /home/admin/conf/web/httpd.conf; в nginx? Это же конфиг апача? Или я что-то упустил?

Code: Select all

# cat /etc/redhat-release 
CentOS release 6.7 (Final)
Версия:0.9.8 (x86_64)	Релиз:15
На старом сервере такого поведения у него не было, но там панель стоит уже год и иногда обновляется.

Re: nginx include apache conf? why?

Posted: Mon Mar 21, 2016 2:54 pm
by skamasle
I can reproduce this some time a go, I get this error in 3 or 4 servers when restore a backup, the misterius is if you remove that line all working fine again.

Re: nginx include apache conf? why?

Posted: Mon Mar 21, 2016 3:30 pm
by Alex Connor
Команда установки какая была?

Re: nginx include apache conf? why?

Posted: Fri Mar 25, 2016 11:03 am
by Светозар
Alex Connor wrote:Команда установки какая была?
Первый раз:

Code: Select all

bash vst-install.sh --nginx yes --apache yes --phpfpm no --vsftpd yes --proftpd no --exim yes --dovecot yes --spamassassin yes --clamav no --named yes --iptables yes --fail2ban yes --mysql yes --postgresql no --remi yes --quota yes 
второй раз:

Code: Select all

bash vst-install.sh