# Nextcloud problems / questions

**URL:** https://dietpi.com/forum/t/nextcloud-problems-questions/15415
**Category:** Troubleshooting
**Created:** [29 December 2022 13:30 UTC](https://dietpi.com/forum/t/nextcloud-problems-questions/15415 "2022-12-29T13:30:27Z")
**Posts on this page:** 1
**Showing post:** 78

<div class="post-metadata">

### Author: ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)
#### Post date: [6 January 2023 08:31 UTC](https://dietpi.com/forum/t/nextcloud-problems-questions/15415/78 "2023-01-06T08:31:41Z")

</div>

I don’t think you need to do all this development. There should be no need to create own files. Basically, it is quite simple.

1. adjust `/etc/nginx/sites-available/default` and change `root /var/www` into `root /var/www/nextcloud`
2. adjust `/etc/nginx/sites-available/default` and remove small block for `location /`
3. adjust `/etc/nginx/sites-dietpi/dietpi-dav_redirect.conf` and remove sub path `/nextcloud` from all configs
4. adjust `/etc/nginx/sites-dietpi/dietpi-nextcloud.conf` and remove sub path `/nextcloud` from all configs (should be quite some)
5. restart Nginx

---

_[View the full topic](https://dietpi.com/forum/t/nextcloud-problems-questions/15415)._
