I recently switched from Apache to Nginx on my production server.
My websites have internal links URLs that are rewritten. When I was using Apache, my URL rewrite rules for my websites (HTML/CSS/PHP/JS) were in .htaccess files in the websites repos/folders, thus I was able to test the websites locally with MAMP.
Now that I switched to Nginx, the rewrite rules now reside in Nginx vhost conf files (using rewrite
directive) on my production server, and my local MAMP does not provide an option to mimic the rewrite rules locally, so pages urls are not rewritten (thus internal links don't work).
Any local server software / best practice on how to solve that while keeping my local stack simple (it's for small/ non critical websites)?