06 januari 2012

Serving mobile users with nginx

Using nginx, and don't want to use PHP to redirect mobile users to your mobile-optimized site? Well, it's perfectly possible to detect and redirect them with some nginx configuration file magic.