1
24.7 Production Series / Re: Nginx Plugin Fails to Modify Log Folder Due to Ownership
« on: August 25, 2024, 09:49:17 am »I encounter the same problem as it looks like.
I had lots of (13: Permission denied) entries in /var/log/nginx/latest.log and after altering the rights of the /var/log/nginx folder those entries were gone and log lines were stored properly in the belonging log files.
You wrote that the /var/log/nginx rights were root:wheel that differs from mine which were root:staff.
Log entries are written by nginx as user www which is as expected. I haven't tried a reboot yet but if the case is that this is changed back after every reboot that would be very inconvenient.
https://github.com/opnsense/plugins/issues/4186
Here, take a look at this.