Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Web Server
  • Search

Disable nginx?

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
7 posts • Page 1 of 1
Marcz
Posts: 4
Joined: Mon Feb 16, 2015 4:58 am

Disable nginx?
  • Quote

Post by Marcz » Fri Feb 27, 2015 9:30 am

Sorry guys, if this is a repeated topic discussed because I couldn't really find the related topic in the forum.

I've recently encounter the "upstream timed out (110: Connection timed out) while reading upstream...." and planning to switch off Nginx support to determine if it is the cause...

I'm running VestaCP on CentOS 6.5 (with nginx support).

Can anyone pls advise if I can disable Nginx support simply by un-selecting "Nginx Support" for the particular web domain in VestaCP? Would it cause any configuration to break?


Thanks for any advice!


Kind regards,
Marcus
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: Disable nginx?
  • Quote

Post by skurudo » Sat Feb 28, 2015 12:21 pm

You can, but this is not good idea. Now you have nginx + apache (httpd) and problem with webserver? Need to dig in logs to understand, what's going on.
Top

Marcz
Posts: 4
Joined: Mon Feb 16, 2015 4:58 am

Re: Disable nginx?
  • Quote

Post by Marcz » Sat Feb 28, 2015 4:07 pm

Thanks Skurudo, for your reply.

Yes, it is currently on nginx + apache. I'm getting intermittent connection timed out error "upstream timed out (110: Connection timed out)" which leads to Internal Server Error..

When I check the Top outputs, the server load, CPU wait I/O seems ok. There is plenty of available memory too.

I'm trying to narrow down what would be the root problem..and I'm thinking to disable nginx support for the web domain to determine if this error is caused by nginx..
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: Disable nginx?
  • Quote

Post by skurudo » Sat Feb 28, 2015 4:54 pm

Marcz, it may me not your vps work not right, neighbors may be get too much resources from server
Top

Marcz
Posts: 4
Joined: Mon Feb 16, 2015 4:58 am

Re: Disable nginx?
  • Quote

Post by Marcz » Sat Feb 28, 2015 5:09 pm

Thanks skurudo.

That was my first suspicion too. I check the server load, memory, etc. All seems fine...
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: Disable nginx?
  • Quote

Post by skurudo » Sat Feb 28, 2015 5:12 pm

Marcz, afaik you can check LA / mem only on your server, but not on general server or other vps. No? )

May be in logs is something? Errors before connection timeouts? (apache/nginx)
Top

websystems
Posts: 31
Joined: Wed Oct 18, 2017 6:34 am

Re: Disable nginx?
  • Quote

Post by websystems » Sat Dec 30, 2017 12:28 am

Same problem here

Tried to fix "upstream prematurely closed connection while reading response header from upstream" error and landed in this topic...


Did you manage to solve it somehow?
Top


Post Reply
  • Print view

7 posts • Page 1 of 1

Return to “Web Server”



  • 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
 

 

cron

Login  •  Register

I forgot my password