if ($request_uri !~* ^/(static|favicon\.ico|robots\.txt)) { rewrite ^/(.*)$ /index.php?/$1 last; break; }