Https not working on nextcloud

Hey guys,

I am new to nextcloud and I installed it on my webspace under gk-communication.at/cloud. As I installed the ā€˜Talkā€™ function, I found out that this domain hasnā€™t got a certificate yet. So I updated it and know all other pages on that webspace have https - for example gk-communication.at/ckw-art (A project I am working on). But for some reason, when I enter gk-communication.at/cloud, there is no https. When I enter https://gk-communication.at/cloud everything works fine, but I donā€™t wanā€™t to typ this every time.

Does somebody have an idea how to fix this? Do I have to change anything in the config?

Thanks for your help! Gabriel

do you have a redirect-to-https button in your webspace console?

what exactly is your ā€œweb spaceā€?

btw: your cwk-art isnā€™t save as well.
grafik

1 Like

Yes you need to open your config.php in your nextcloud folder on the server. Ad ā€œyour domainā€ into the line after:

ā€˜trusted_domainsā€™ =>

See:

This should work.

1 Like

Why do you not only use
https://cloud.gk-communication.at
https://cloud.gk-communication.at/index.php/login

You can remove the ā€œindex.phpā€ from the url
https://github.com/nextcloud/server/issues/22296

Thanks! That worked.

1 Like