Description: A issue happen when setup nextcloud behind a reverse proxy server.
The nextcloud native client for login creating web url as http instead of https.


The solution for this is to add a configuration to the config.php
#Add below config to config under config.php
'overwriteprotocol' => 'https'