# Allow to change web server log path for Nginx from UI

**Project:** Ploi Core | **Board:** Planned | **Votes:** 4
**URL:** https://roadmap.ploi.io/projects/4-ploi-core-requests/items/757-allow-to-change-web-server-log-path-for-nginx-from-ui

---

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: 

1. create $HOME/$domain/logs for each domain.
2. restart nginx
3. change logrotate
4. restart logrotate


