When it comes to nginx and apache you can always go down the hosted realtime infrastructure route. That way you can use WebSockets in your client (app) but you don't need to worry about installing mods or handling the persistent connections on your server.
See: http://www.leggetter.co.uk/real-time-web-technologies-guide#...