Updated nginx config and pickles version

Moved to socket for PHP and the latest version of pickles