Is there a way to set up nginx to have a certain group of the current access&error log files?
"user www www" in nginx.conf doesn't do the trick. The actual log files are owned as www:wheel, probably because this is the group of the running master nginx process. Setting nginx_group to a different group in /etc/rc.conf doesn't seem to be applicable either:
⟨name⟩_group
(str) Run the chrooted service under this system group.
Unlike the _user setting, this setting has no effect if the
service is not chrooted.
"user www www" in nginx.conf doesn't do the trick. The actual log files are owned as www:wheel, probably because this is the group of the running master nginx process. Setting nginx_group to a different group in /etc/rc.conf doesn't seem to be applicable either:
⟨name⟩_group
(str) Run the chrooted service under this system group.
Unlike the _user setting, this setting has no effect if the
service is not chrooted.