This plugin allows you to switch theme according to the User Agent on the Nginx reverse proxy.