I think for server, it is not possible to change the default group for new users to anything other than the 'confluence-users' group.
I could only find this related question/answer, which I don't think helps much, here: https://answers.atlassian.com/questions/36116638
Is there any reason why you can't do something like the following steps?:
Hi Jean Bausch,
My guess its not possible to restricte confluence user group. its a default group when sign up to confluence users add into confluence user group. if you don't want user in confluence user group then move other group.
User sign up options don't Allow people to sign up to create their account
More and more people are building their careers with Atlassian, and we want you to be at the front of this wave! Important Dates Start the Certification Prep Course by 2 April 2019 Take your e...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs