danb35 / freenas-iocage-nextcloud

Script to create an iocage jail on FreeNAS for the latest Nextcloud 28 release, including Caddy, MariaDB or PostgreSQL, and Let's Encrypt
GNU General Public License v3.0
252 stars 71 forks source link

ERR_SSL_PROTOCOL_ERROR and ERR_TOO_MANY_REDIRECTS #160

Closed theflyingsquirrel88 closed 2 years ago

theflyingsquirrel88 commented 3 years ago

I just install the NextCloud on TrueNAS-12.0-U1 DNS_cert with Cloudflare proxy. DNS_PLUGIN=cloudflare When the script is done, I cannot even connect with internal ip address. If I open from internal ip of the jail, it shows ERR_SSL_PROTOCOL_ERROR If i open from domain address, it shows ERR_TOO_MANY_REDIRECTS

nikinsp commented 3 years ago

I am running on Freenas 11.3 same for me on internal IP to the jail: If I open from internal ip of the jail, it shows ERR_SSL_PROTOCOL_ERROR

danb35 commented 3 years ago

Connecting by IP isn't supported when you have a cert, and Cloudflare's proxy can cause problems. Disable it, and fix the DNS on your LAN so it points to the IP address of your jail.