Hello All,
to solve this issue you need to add ‘overwriteprotocol’ => ‘https’ in config/config.php in nextcloud, I tested and solving the issue, here the explaination
/**
- When generating URLs, Nextcloud attempts to detect whether the server is
- accessed via
https
orhttp
. 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
andhttps
.
*/
‘overwriteprotocol’ => ‘’,