That could be the reverse proxy. I had the same problem. The solution for me was to add the ‘overwriteprotocol’ variable to config.php and set it to “https”. See: server/config/config.sample.php at master · nextcloud/server · GitHub
Unfortunately, I ran directly into the next problem with it:
9 Likes