You can give my package a try. It quickly starts up an nginx (or apache) docker server with mysql and php
https://packagist.org/packages/sinnbeck/laravel-served
Be aware that you need to be able to run php on the terminal to use it
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
I don't know if this is a coincidence but I need highlight from someone more experienced than I am.
First I set up homestead and my site won't run, it shows 502 Gateway timeout and then I configured the site from the Homestead.yaml file to use apache and everything worked fine.
Secondly, I move to use Laragon and after all setup, my sites won't run and when I change the settings to use Apache, everything is working fine.
So my confusion is, could it be the problem is from my machine? if so, do you have any idea why my machine wouldn't work with Nginx?
My Machine runs on Win 10.
Please or to participate in this conversation.