I also found this post initially but nothing is helping here: Issues with CORS when trying to configure Mautic 3 and NGinx
and a good reference is : How to Enable CORS in Apache and Nginx?
However I have a hunch that Mautic is somehow ignoring these settings from the local.php file for some reason…