After activating https i get error "untrusted domain"

Hi guys!

I installed NextCloud and it worked fine. i created a VirtualHost for http and nothing went wrong or had an error/problem.
Now i wanted to create a new VirtualHost for https. Apache sais its all good -> i connect to nextcloud over a browser -> Zertificate is active and accepted -> but nextcloud itself sais, that i connect from an untrusted domain… Do i have to change something in the config/config.php or what did i do wrong?


yes, you have to add your domain to the “trusted_domains”, in config.php


‘trusted_domains’ =>
array (
0 => ‘’,
1 => ‘’,