I have the following in my nginx config file.
error_page 503 http:path-to-my.rackcdn.com/maintenance.html;
Which servers up a static html file stored on Rackspace Cloudfiles. What I don't like is how the url changes to ...rackcdn.com. 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