Host a Laravel site on EE4

Hi,

I have a EE4 server on which I would like to move a laravel website.

I thought that creating a “PHP” site and modify the path to the public folder in /opt/easyengine/sites/[mysite.com]/config/nginx/conf.d/main.conf and then restart the container would do the trick but I have a “502 Bad Gateway”.

Is it impossible right now to host a Laravel website on a EE4 server?

Did you find out? Did you check the Nginx error logs inside the logs or running the container non detached and checking logs live?

That would be nice to have a few tutorials on how to use EE v4 dockerized environments with along other kinds of server setups, such as node js or laravel. I really need to spin up a laravel websockets server within EE https://docs.beyondco.de/laravel-websockets/

1 Like

It’s definitely possible. I don’t use EEv4 anymore but straight Docker. I have bedrock running in a container.