title: Custom PHP files wont load (Outside of magento 2 installation ubuntu + nginx)
body: <p>I am trying to let a custom script which is in the root directory of the Magento 2 installation but when I navigate to it on my browser, it returns a 404 error. For testing I tried to create an empty php file (abc.php) then navigate to it in the browser (domain/abc.php) it will still return a 404 even though I am certain the file exists in the location. I have tried CHMODding to 777 and changing ownership of the file to the same as the rest of the directory but I still get this 404.</p>
  
  <p>I am using ubuntu 18.04 + NGINX as web server to run Magento 2. The Magento 2 installation is working on the browser, just any custom script I navigate to returns a 404. Has anyone ever had anything similar or have an idea on what to do next to debug this problem :/?</p>