Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have the following in my nginx config file.

error_page 503;

Which servers up a static html file stored on Rackspace Cloudfiles. What I don't like is how the url changes to I'd rather rewrite the url so the domains appears to have stayed the same. Is it possible to rewrite error page url to something like



share|improve this question
up vote 1 down vote accepted

Sorry, but in order to not have a client redirected to an external URL, you will have to host the file on your local filesystem. (Though any images, CSS etc. that it might load can remain on the CDN.)

share|improve this answer
Ya, that's what I figures. Thanks. – Pardoner Feb 8 '13 at 22:32

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.