Mobile browser detection at server level
    António P. P. Almeida 
    appa at perusio.net
       
    Sat Jan  7 14:25:18 UTC 2012
    
    
  
On 7 Jan 2012 13h49 WET, nginx-forum at nginx.us wrote:
> It is perfectly possible to do so with nginx server level
> configuration, I wrote a blogpost about it on my blog:
> http://blog.andrieslouw.nl/2012/01/serving-mobile-users-with-nginx.html
>
> 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:
https://gist.github.com/1326701
--- appa
    
    
More information about the nginx
mailing list