-1

I set up a Ubuntu based Linode VPS with Nginx and Varnish on it. However i am not able to access anything on the IP or site address.

IP: 176.58.98.79 Site: http://www.articledexter.info

When i try to access either of them i get this error

Error 503 Service Unavailable

Service Unavailable

Guru Meditation:

XID: 1357161149

Varnish cache server

Which configuration files need to modified to increase the timeout issues ? Experts need your help !

pauska
  • 19,620
  • 5
  • 57
  • 75
Sameer M
  • 23
  • 6

1 Answers1

1

Based on your comments, you didn't give any attention to the documentation. Read it. Specifically this page.

Varnish should run on port 80 (default http port) and nginx on a different one, for example 8080.

backend default {
      .host = "127.0.0.1";
      .port = "8080";
}

The reason why you're getting 503 error is because there's no backend running (or even set up).

Sašo
  • 1,494
  • 2
  • 10
  • 14
  • I have indeed setup Varnish on 80 and Nginx configuration on 8080. The reason is that Nginx is not starting on port 8080 but trying to start in port 80. This is producing bind errors. – Sameer M Apr 25 '12 at 14:57
  • Check if you have the default configuration file there, or the example part of the configuration. Check both nginx.conf and sites-enabled folder. – Sašo Apr 25 '12 at 16:34