# Using Nextcloud with Cloudflared

**URL:** https://dietpi.com/forum/t/using-nextcloud-with-cloudflared/14061
**Category:** Troubleshooting
**Created:** [23 August 2022 01:52 UTC](https://dietpi.com/forum/t/using-nextcloud-with-cloudflared/14061 "2022-08-23T01:52:11Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![Jappe](https://dietpi.com/forum/user_avatar/dietpi.com/jappe/32/1788_2.png) [@Jappe](https://dietpi.com/forum/u/Jappe)
#### Post date: [23 August 2022 02:39 UTC](https://dietpi.com/forum/t/using-nextcloud-with-cloudflared/14061/2 "2022-08-23T02:39:12Z")

</div>

I assume you use the defualt webserver lighttpd, then you can check this out:  
[https://redmine.lighttpd.net/projects/1/wiki/docs\_modrewrite#With-mod\_redirect](https://redmine.lighttpd.net/projects/1/wiki/docs_modrewrite#With-mod_redirect)

There was also the same question in the past, it’s worth reading why it’s maybe not so a good idea / make thngs more complicated:  
[https://dietpi.com/forum/t/nextcloud-sub-domain/5219/3?u=jappe](https://dietpi.com/forum/t/nextcloud-sub-domain/5219/3)

---

_[View the full topic](https://dietpi.com/forum/t/using-nextcloud-with-cloudflared/14061)._
