title: Laravel homestead 502 bad gateway
body: <p>Everytime i go to my project I get a 502 bad gateway. When I refresh, the page works.. If I click a link to another page I get 502 bad gateway again. After the refresh the page loads. What could be the problem here.</p>
  
  <p><code>Homestead.yaml</code></p>
  
  <pre><code>---
  ip: "192.168.10.10"
  memory: 2048
  cpus: 1
  provider: virtualbox
  
  authorize: c:/Users/MyNameHere/.ssh/id_rsa.pub
  
  keys:
      - c:/Users/MyNameHere/.ssh/id_rsa
  
  folders:
      - map: c:/Users/MyNameHere/Desktop/sites
        to: /home/vagrant/code
  
  sites:
      - map: spa.test
        to: /home/vagrant/code/spa/public
  
  databases:
      - homestead
  </code></pre>
  
  <p>Got the latest version for virtualbox and vagrant.</p>
  
  <p>My spa folder contains the newest version laravel.</p>