rewrite (.*) http://192.168.1.22/index.htm? permanent;


nginx rewrtie的时候会带上参数,在结尾带上?的话,nginx将丢弃请求中的参数。