Nginx configuration for cs-cart

As per topic, im using this



try_files $uri $uri/ /index.php$is_args$args;

but cant open product with .html

anyone got nginx seo configuration for cs-cart? please share thanks


location / {
if (-f $request_filename/index.html){
rewrite (.*) $1/index.html break;
}
if (-f $request_filename/index.php){
rewrite (.*) $1/index.php;
}
if (!-f $request_filename){
rewrite ^ /index.php?sef_rewrite=1;
}
}
location ~* .(tpl|zip|gz)$ {
if (-f $request_filename) {
return 403;
}
}

Hello I know is bit a late but would need help

I did server wiht nginx and html files is working but for php file I get file not found :-) please