New page not accepting url paramenter


I have create new page.

$app->get(’/[{name}]’, function ($request, $response, $args) {
// Sample log message
$this->logger->info(“Users ‘/’ route”);
// Render index view
return $this->renderer->render($response, ‘users.php’, $args);

when I give it working fine,

but when I give it says page not found at live server, my live server is ngix.

on the other hand on my local server same thing works perfectly fine and it is linux base.

any idea what is the missing thing for the nigx?

Kind Regards,


Learn about URL Rewrite in