Photo Management UBsync

I have lots of photos on my NextCloud server. I just sync’d my mobile phone so I can also have my mobile pics loaded. My mobile photos sync’d to my NC server but also the gigs of photos I have on the server auto sync’d to the phone consuming all space.
What do I need to do to only upload from my mobile device to my NC server?