Another note, on some of the application sub directories, I need to emulate this rule from .htaccess: RewriteRule ^(.*)$ %{DOCUMENT_ROOT}/index.php/$1 [QSA,L] Posted at Nginx Forum: https://forum.nginx.org/read.php?2,263024,263026#msg-263026