title: 502 Bad Gateway after login
body: <p>I setup both Laravel 4.2 and 5.2 project on Digital Ocean VPS. The v5.2 project  works normally but the v4.2 one show error <code>502 Bad Gateway</code> after login. If I logout the account, everything works ok.
  I use Ubuntu 14.04, Nginx, Mysql, PHP 7 with fpm (I setup nginx virtual host properly <code>fastcgi_pass unix:/var/run/php/php7.0-fpm.sock;</code>). I use Entrust for authentication and authorization.
  How can I solve this problem?
  Thanks in advanced!</p>