ну как то так
location /
{
try_files $uri $uri/ /client/index.php;
}
location ~ \.php$ {.
include fastcgi_params;.
fastcgi_pass unix:/tmp/php-fpm.socket;.
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
}
location ~ /\.ht { deny all;}