Nginx issues slim v2

Hi everybody I’m facing some issues on Nginx

I have more than one instance of Slim (v2) in a subfolder of the document root i.e /myapp/

I need to access different instances without rewrite i.e. https://MYDOMAIN/myapp/API.php/route1 so that

$app->map( “/route1”, function() use($app){

and also https://MYDOMAIN/myapp/API2.php/route1

is called

It’s not working with default nginx.conf taken from

any help would be appreciated

thanks in advance