I have installed Nextcloud on HTTPS port 9001 at the beginning with SSL and etc… Was facing all sorts of errors but managed to resolve them all.
But, then I realized that instead of accessing it on port 9001, maybe it’s a good idea to have it just on standard port like cloud.example.com.
Turns out that the Truenas Pod Container can’t listen to port 443, so I had to use reverse proxy to forward host 443 port to nextcloud container port 9001.
So my question is, mainly to those who installed reverse proxy, did you keep your nextcloud on SSL? Because in my case, I was unable to run nextcloud on HTTP port without having all sorts of errors. For example nextcloud was unable to fetch its configuration at the administrator settings, etc…
Because of this, now I’m running both reverse proxy and nextcloud in SSL mode, and it’s kinda double SSL handshake makes me think that it’s may somehow reduce performance, otherwise working great.
Interesting, what I missed configuring nextcloud to run in HTTP mode instead of HTTPS?
I run all my services in regular HTTP mode behind an HTTPS reverse proxy (Caddy). In fact, this is actually the default protocol used by Caddy for reverse proxies. Running it under Caddy also comes with the upside that I never have to worry about the certs. SSL certs on Caddy are all automatic set-and-forget, which is awesome.
I don’t think you’re missing anything out honestly.
Just in case anyone will be in the same situation…
Bad is that most likely Truenas future update will overwrite my nginx.conf file and I will have to rewrite it again. I have tried Nginx Proxy Manager but it didn’t listen to port 443