fix nginx error that was not identified as only changed it on the working prod server
heaps of improvements including running the application properly with unicorn as a deamon