There are multiple ways. You can either use users.groups.<name?>.members or users.users.<name?>.extraGroups. In the first one, you specify the groupname and in the second one the username.
Besides that, allowKeysForGroup = true and the group = "groupname" setting are the way to go.
Is this approach the way to go? Or do people create multiple certificates for one domain? Note, that this also run into permission trouble! Might be a bug in the acme module?
edit: Also using nginx’s enableACME = true; is very usefull, because it takes care of everything. But there is no way to specify allowKeysForGroup for that, or is there?
I haven’t upgraded any of my systems that do ACME to the new release yet.
The API hasn’t changed though.
Your approach looks good to me. You probably don’t need to set user = nginx, if you’re using enableACME. And I would suggest reloading nginx, instead of restarting it.