rewrite (.*) http://192.168.1.22/index.htm? permanent;nginx
nginx rewrtie的時候會帶上參數,在結尾帶上?的話,nginx將丟棄請求中的參數。ide