disable courses https redirect