502 Bad Gateway nginx/1.27.3 Laravel Herd PHP 8.2 macOS Sonoma
I have tried to deploy the Laravel application using Nginx web server. However, I get the 502 Bad Gateway error. What could be the reason? Is it permission issue or something else.
Following code snippet shows the default site configuration file.