DavMaxwel
1 month ago
281
7
Laravel

502 Bad Gateway

Posted 1 month ago by DavMaxwel

I have repeated followed the procedures in this documentation https://laravel.com/docs/8.x/homestead.

But after running vagrant up and waiting for the process to finish, I visit my website on homestead.test it returns 502 Bad Gateway.

My Host File Configuration

192.168.10.10 homestead.test

My Homestead Yaml File Setup

---
ip: "192.168.10.10"
memory: 2048
cpus: 2
provider: virtualbox

authorize: ~/.ssh/id_rsa.pub

keys:
    - ~/.ssh/id_rsa

folders:
    - map: ~/C:\Users\STECHMAX\Homestead\code
      to: /home/vagrant/code

sites:
    - map: homestead.test
      to: /home/vagrant/code/public

databases:
    - homestead

features:
    - mariadb: false
    - ohmyzsh: false
    - webdriver: false

# ports:
#     - send: 50000
#       to: 5000
#     - send: 7777
#       to: 777
#       protocol: udp

Please sign in or create an account to participate in this conversation.