Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Language specific forums Russian (Русский) Веб сервер
  • Search

nginx include apache conf? why?

Вопросы по работе Веб сервера
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
4 posts • Page 1 of 1
Светозар
Posts: 84
Joined: Sat Sep 21, 2013 6:01 pm
Contact:
Contact Светозар
Website

nginx include apache conf? why?
  • Quote

Post by Светозар » Thu Mar 17, 2016 11:33 am

Чистая инсталляция 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
На старом сервере такого поведения у него не было, но там панель стоит уже год и иногда обновляется.
Top

skamasle
Collaborator
Posts: 592
Joined: Mon Feb 29, 2016 6:36 pm

Re: nginx include apache conf? why?
  • Quote

Post by skamasle » Mon Mar 21, 2016 2:54 pm

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.
Top

Alex Connor
Support team
Posts: 1047
Joined: Fri Mar 21, 2014 7:49 am
Contact:
Contact Alex Connor
Website Twitter

Os: CentOS 6x
Web: apache + nginx
Re: nginx include apache conf? why?
  • Quote

Post by Alex Connor » Mon Mar 21, 2016 3:30 pm

Команда установки какая была?
Top

Светозар
Posts: 84
Joined: Sat Sep 21, 2013 6:01 pm
Contact:
Contact Светозар
Website

Re: nginx include apache conf? why?
  • Quote

Post by Светозар » Fri Mar 25, 2016 11:03 am

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 
Top


Post Reply
  • Print view

4 posts • Page 1 of 1

Return to “Веб сервер”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password