invision community nginx rewrite rules

this will do it:


try_files $uri $uri/ /index.php;
}


location ~^(/page/).*(.php)$ {
try_files $uri $uri/ /index.php;
}