guardian/frontend — pull request #1362 by janua (2013-08-08 17:45:27+00:00)
Title: Front Facia Redirect

This checks all requests coming into the front project for an X-Gu-Facia header.

If set to true, you get an internal X-Accel-Redirect to the facia app with the same path, otherwise you continue your journey in the front project.

There is (going to be) another pull request in provisioning for this to work properly. On top of this, fastly will also be updated to insert the header for when a user has the AB testing cookie.

This diff looks a lot bigger than it should, it's all the indenting!