It would be useful to allow change of Nginx log path from UI. Default path is /var/log/nginx/ These logs are not accessible to sFTP user because they're outside of its $HOME. logs aren't part of the backup, and I find it useful to backup log files too. If i don't want them I expect to explicitly exclude them from backup.
I changed it manually for every domain I needed by editing nginx.conf, but I had to:
- create $HOME/$domain/logs for each domain.
- restart nginx
- change logrotate
- restart logrotate