Hello there
I have a problem and I have no idea how to activate HTTPS on Nextloud (Version 2.0.20) with TrueNas Scale (in the latest version Dragonfish-24.04.2.5), if someone could tell me how to do it I would really appreciate it, since I would like my data not to be unprotected
Thank you very much to whoever is reading this, if you know a solution and know how to do it, do not hesitate to answer.
To activate NC https you would have to add in and edit a Configuration Parameter in the NC config.php assuming that you are running NC behind a proxy.
Referring to this docs right here Configuration Parameters — Nextcloud latest Administration Manual latest documentation
Blockquote
overwriteprotocol
‘overwriteprotocol’ => ‘https’,
When generating URLs, Nextcloud attempts to detect whether the server is accessed via https
or http
. However, if Nextcloud is behind a proxy and the proxy handles the https
calls, Nextcloud would not know that ssl
is in use, which would result in incorrect URLs being generated.
Valid values are http
and https
.
Blockquote
1 Like