fix nginx to use .ca file if exists;