if (!-e $request_filename) { rewrite ^(.*)$ /index.php?s=$1 last; break; } Was this helpful? YesNo 0 / 0 #nginx #thinkphp5