alphagov/whitehall — pull request #209 by jamiecobbett (2013-02-13 17:36:02+00:00)
Title: Force all requests to appear remote in production

We discovered some time ago that Whitehall was serving up debug pages for errors in production.

@nickstenning addressed this by having nginx rewrite response bodies for 4xx/5xx responses. This isn't ideal because it means any semantic 4xx/5xx response body is lost.

This change removes the need for that.