Setting up Nginx and PHP-fpm in Laravel Sail
But Laravel Sail is meant for development right? Why bother with Nginx? Yeah I know I know, but sometimes there is always a need to use a proper web server. Whether you are trying to set up SSL to test HTTPS connections, transitioning from the development environment to production, or a need to test concurrent requests in your app.
Also watch this tutorial on my Youtube Channel: