update nginx for php rewrite