Open the NextCloud Control panel and select the folders to synchronize. Mark and unmark the corresponding checkboxes in the server folder tree as shown below.