0
votes
0answers
120 views

Nginx with wordpress refused varnish static content requests

I just added another wordpress site to my ubuntu server. 2 wordpress sites, not multisite. They use 2 different fpm pool with same config. Their Nginx config files are basically identical except the ...
0
votes
1answer
140 views

Switched from Apache to Nginx - 503 errors

Switching from Apache to Nginx has caused us some errors.Our forum images do not load, and a directory with redirects and such don't actually redirect. The two problems is /forum/uploads/avatars, ...
0
votes
2answers
193 views

Nginx Maintenance Mode (503) in Subdirectory with PHP-FPM

I'm using Nginx with PHP-FPM, and I want to restrict access to a subdirectory of PHP files on my site so that only traffic from my IP address is allowed. Here is what I have tried, assuming my IP is ...
0
votes
2answers
547 views

nginx error 503 service unavailable

im trying to learn about ubuntu server and nginx, im still very new to ubuntu and nginx. I setup my site and I was able to access it and get the default nginx screen. I then went into the index.html ...
1
vote
1answer
2k views

Nginx 503 error in High traffic

I have enough memory and cpu but nginx shows 503 error in high traffic. Here is memory usages total used free shared buffers cached Mem: 3383 3370 ...
1
vote
3answers
1k views

Varnish 3.0.2 to Apache2 sometimes return error 503

Hey guys I hope you can help me out here. I have an Ngingx parsing http and https to a varnish cache(3.0.2). From the varnish it is sent to apache2. Now I have for some time been tracking some ...
1
vote
1answer
729 views

How can I make nginx always return a HTTP 503?

I am using HAproxy in front of an app that is on multiple other servers. I would like to set up a vhost in a local nginx instance that only serves a 503 for every request (to use as the 'backup' ...
1
vote
1answer
582 views

nginx: error_page does not work

I try to set up a maintenance page for my rails app, using this snipplet. error_page 503 /system/maintenance.html; if (-f $document_root/system/maintenance.html) { return 503; } This works as far ...
0
votes
0answers
168 views

nginx returns 503 over https

this is my stack: a single tomcat back-end located at 10.3.1.125 with 2 web apps (website1 and webservice1) an nginx server front end located at 10.3.1.19 with a public ip that servers both apps ...
3
votes
1answer
1k views

Nginx with Passenger behind HAProxy causes 503 errors

Over the last month I was forced to learn a lot of things about server configuration, integration, AWS, etc. I have never done these to this extent. I got everything up and running well for my app ...
1
vote
2answers
855 views

How can I configure nginx to serve a “server overloaded” or out of capacity page?

I've got a client who's expecting a plug on national TV tonight, and they just told me (love how that works, eh?). I'm trying to do some capacity planning in what little time I have, and the one ...
0
votes
1answer
495 views

How can I make Nginx return HTTP 503 when my proxied app server is down?

I have an nginx web server sitting in front of a Jetty Java app server running a web application. I'd like to configure nginx to return a HTTP 503 if the proxied Jetty server is down. This way when ...
2
votes
1answer
809 views

Configure nginx to serve a 503 if a file exists

I'm trying to setup nginx to return a 503 if a particular file exists (probably something like "upgrading"). I'm trying to use the try_files directive, but when it finds the /upgrading.html file, it ...