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

504 Timeout Error when access website. Nginx Problem?

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
13 posts
  • Previous
  • 1
  • 2
skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: 504 Timeout Error when access website. Nginx Problem?
  • Quote

Post by skurudo » Thu May 28, 2015 9:16 pm

Fixed.

A several moments:
- don't add IP like 8.8.8.8 to domain, system can't allocate this address
- disable nginx support for one domain it's not always good idea.

Code: Select all

sudo service apache2 status
 * apache2 is running
Top

ttcttctw
Posts: 26
Joined: Thu May 28, 2015 2:49 am
Contact:
Contact ttcttctw
Website

Re: 504 Timeout Error when access website. Nginx Problem?
  • Quote

Post by ttcttctw » Thu May 28, 2015 9:18 pm

So how do you fix the system?
I want to know how, so I can fix it my self next time.
Top

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

Re: 504 Timeout Error when access website. Nginx Problem?
  • Quote

Post by skurudo » Thu May 28, 2015 9:24 pm

* Look at logs ;-)
* Change IP for default.domain from 8.8.8.8 to your ip
* Enable nginx support for domains
* Rebuild web
* Check config
* restart services nginx/apache for test.

It's worked fine, as I can see. You don't need to uninstall or reinstall anything ;-)
Top


Post Reply
  • Print view

13 posts
  • Previous
  • 1
  • 2

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
 

 

Login  •  Register

I forgot my password