Fix to allow cherrypy to work under nginx subdir behind uwsgi.