rewrite htaccess apache to nginx
Try this:
if ($request_uri !~ "^(index.php|static|favicon.ico|robots.txt|sitemap.xml|google(.+).html)"){ rewrite ^/(.*)$ /index.php?/$1 last;}
Try this:
if ($request_uri !~ "^(index.php|static|favicon.ico|robots.txt|sitemap.xml|google(.+).html)"){ rewrite ^/(.*)$ /index.php?/$1 last;}