Add redirect off and keepalive config