On Tue, 2010-01-26 at 00:54 +0200, Marcus Clyne wrote:
Thanks for the response, greatly appreciated :) However I'm getting Unknowndirective 'if' when trying to add this into my nginx config - any ideas?
Is your 'if' statement under a server or location block? If not, it
Also, as that URL indicates, "if" is part of the rewrite module, so that
must be compiled in.
nginx mailing list