fixed app.run() to work with nginx