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
httpsorhttp. However, if Nextcloud is behind a proxy - and the proxy handles the
httpscalls, Nextcloud would not know that -
sslis in use, which would result in incorrect URLs being generated. - Valid values are
httpandhttps.
*/
‘overwriteprotocol’ => ‘’,