Mobile browser detection at server level

António P. P. Almeida appa at
Sat Jan 7 14:25:18 UTC 2012

On 7 Jan 2012 13h49 WET, nginx-forum at wrote:

> It is perfectly possible to do so with nginx server level
> configuration, I wrote a blogpost about it on my blog:
> I'm not exactly sure if it follows all the best-practices, but it
> seems to work quite well in my enviroment.

There's a simpler and more efficient way to do it. Instead of
detecting the mobile browser, do the complementary, i.e. detect the
desktop browser:

--- appa

More information about the nginx mailing list