Stuck in Login Loop

I recently went to login to my nextcloud instance via the browser and all it does it reload the login page with no error when I try and login. All mobile apps are still working perfectly.

OS: Ubunutu 20.04
Nextcloud: 21.0.4.1
Installation: Manually via apache (?)

I’m quite new to all this so please bare with me while I try and provide information. I already tried adding the line ‘overwriteprotocol’ => ‘https’ to the config file with no luck.

Thanks in advance!

So your apache configuration looks like that:
https://docs.nextcloud.com/server/21/admin_manual/installation/source_installation.html#apache-web-server-configuration
?

Logfiles are important in such cases, could be some infinite redirect loops …

Yes my apache configuration looks like that.