We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
nginx include apache conf? why?
nginx include apache conf? why?
Чистая инсталляция 30 минут назад.
В файле /etc/nginx/conf.d/vesta.conf следующие содержание:
При этом мы получаем следующие уведомления:
Зачем подключается include /home/admin/conf/web/httpd.conf; в nginx? Это же конфиг апача? Или я что-то упустил?
На старом сервере такого поведения у него не было, но там панель стоит уже год и иногда обновляется.
В файле /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
Code: Select all
# cat /etc/redhat-release
CentOS release 6.7 (Final)
Версия:0.9.8 (x86_64) Релиз:15
Re: nginx include apache conf? why?
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.
-
- Support team
- Posts: 1047
- Joined: Fri Mar 21, 2014 7:49 am
- Contact:
- Os: CentOS 6x
- Web: apache + nginx
Re: nginx include apache conf? why?
Команда установки какая была?
Re: nginx include apache conf? why?
Первый раз: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