Hi, Iâm fairly new to nextcloud and i think that is an awesome tool.
I was using it for a while through a vpn connection to test it and finally decided to make a stable deployment. I have other services available through subsfers and i was planning to add a /nextcloud to access it.
But when in the config.php file I add âoverwritewebrootâ => â/nextcloudâ, which results in ERR_TOO_MANY_REDIRECTS every time. Even if I access it locally at https://192.168.x.x:444/nextcloud/login, the same error shows up. I have read ALL the thread posts that I could find but all of them point to the reverse proxy configuration. It seems to me that this problem is before the reverse proxy.
This is the configuration of NC, thanks in advance.
Letâs see your web server configs for both the main and the reverse proxy. The problem is going to be in there somewhere, probably not the Nextcloud config.
So just to recap, you changed the overwritewebroot in the config.php, but you have not actually changed where the web root is inside the container? Then the error is expected.
Overwritewebroot is for use with a reverse proxy when the actual web root may not match the same path where the reverse proxy is providing the site. Without a reverse proxy, setting the path to something itâs not will just break it.
If from the config.php the âoverwritewebrootâ => â/nextcloudâ is removed, the dashboard is reachable and working normally at https://localip:444.