Configuration and script to use Nginx as a reverse proxy with Plex.tv as the authentication backend