This will match http://dntx.com/?foo and redirect it to https://www.dntx.com/; is that the intended behavior?.