title: Nginx php rewrite for symfony isn't allowing to access standard php files
body: <p>Sorry if this is a dumb question, i am quite new to using nginx after switching from apache. I have a symfony app running on nginx and it's working using containers and cgi pass. I am able to access symfony routes on it without an issue, but i also have a single php file in the public folder that needs to be accessed, but it's giving me 404.</p>
  <p>I think it's related to the nginx rules but i'm not sure how to get around it</p>
  <pre><code>events {
      worker_connections 1024;
  }
  
  http {
  
      server {
          listen 80;
          root /usr/share/nginx/html/public;
          server_name api.gofollow.vip;
          location / {
              try_files $uri /index.php$is_args$args;
              #try_files $uri $uri/ =404;
          }
  
          location ~ \.php$ {
              fastcgi_pass php:9000;
              fastcgi_split_path_info ^(.+\.php)(/.*)$;
              include fastcgi_params;
              fastcgi_index index.php;
              fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
              fastcgi_param PATH_INFO $fastcgi_path_info;
              internal;
          }
  
          # deny access to apache .htaccess
           location ~ /\.ht {
               deny all;
           }
  
           error_log /usr/share/nginx/logs/error.log;
           access_log /usr/share/nginx/logs/access.log;
      }
  
  }
  </code></pre>
  <p>So i need the symfony routes like example.com/page/hello to work, which they do, but i also need to be able to access example.com/tester.php</p>
  <p>It can block any other php file, but &quot;tester.php&quot; needs to be accessible.</p>