Hi,
I’m trying to make my Nextcloud instance publicly available by using Nginx Proxy Manager and Cloudflare. I have mainly used this guide from Dan’s Wiki.
I am able to reach my applications (Nextcloud and Photoprism) only if I disable the Force SSL setting in NPM and set the SSL/TLS setting in Cloudflare to flexible. The browser says the connection is secure, but my impression is that Force SSL should be on and the Cloudflare setting should be “Full (strict)”.
How can I get this to work with the correct SSL settings?
Troubleshooting info:
With Cloudflare set to Full I get a code 521error (Web server is down).
With Cloudflare set to Flexible and Force SSL results in: ERR_TOO_MANY_REDIRECTS
Acquiring Let’s encrypt certificates in NPM gives no error.
The “Certificate ID” option in the apps is left blank.
DNS settings in Cloudflare:
Pihole local DNS setting:
Pihole sees lots of queries, but truenas.local does not work.
NPM:
- Truenas ElectricEel-24.10.2
- NPM App Version 2.12.3