I’m having trouble with the Nextcloud passwords app. Does anyone know how I can get it to work properly? I managed to fix the client’s HTTPS, but the issue persists, and I couldn’t find much material on how to resolve it. I’m somewhat inexperienced, so I did find some documentation, but I was unable to understand what needs to be done.
Your screenshot shows that the Nextcloud setup is facing an HTTPS detection issue. The HTTPS Setup Report indicates the following discrepancies:
- Nextcloud reported protocol:
- Actual: HTTP
- Expected: HTTPS
- Client reported protocol:
- Actual: HTTPS (This is correct).
- Nextcloud Proxy Settings (overwriteprotocol, overwritecondaddr, trusted_proxies):
- Not set: These fields are not set in your Nextcloud configuration, but they are crucial for configuring reverse proxies correctly.
Solution:
You need to configure the proxy settings in Nextcloud’s config.php
to properly handle the HTTPS connections behind the proxy. Here’s how you can resolve this:
- Set
overwriteprotocol
to HTTPS: This ensures that Nextcloud knows it is behind a proxy and should use HTTPS for internal links. - Set
trusted_proxies
: Add your proxy server’s IP “10.21.0.0.6” to the list of trusted proxies to let Nextcloud know it’s safe to trust the proxy. - Configure
overwritecondaddr
: This tells Nextcloud when to apply the overwrite settings based on the remote address (useful for proxies). You should set this to “^10\.21\.0\.[0-9]+$” - Restart your Umbrel: After updating the
config.php
, restart your Umbrel to apply the changes.
Do you use a Cloudflare tunnel for https?
Yes, I use the Cloudflare tunnel. Send the rest of the screenshot that didn’t appear because it didn’t fit. I’ll test what you sent me.
Try the configuration I sent you. You can access the config.php
in the terminal with the command:
sudo nano ./umbrel/app-data/nextcloud/data/nextcloud/config/config.php
I actually found the second configuration in this file, but not the others.
I added it.
It worked, thank you very much, my friend!
1 Like
I’m glad I could help you!