Matches any visit that ends in html, then redirects to http
rewrite ^(.*)\.html$ http://10.86.255.119$request_uri;
match any index? parameters like this, then redirect to the corresponding http
rewrite ^(.*)index\.php\?$ http://10.86.255.119$request_uri;