Honor HTTPS_SERVER cgi varible