![[Nextcloud error - http vs https-20250306123031087.jpg]] # Nextcloud forum 1 [The polling url does not start with https despite the login url started with https - ℹ️ Support - Nextcloud community](https://help.nextcloud.com/t/the-polling-url-does-not-start-with-https-despite-the-login-url-started-with-https/137576) > [!quote] > catav - Apr 2022 > > Hi, > I found a solution after digging a lot on internet. > Following changes solve the problem. > > ```php > 'trusted_domains' => > array ( > 0 => 'domain.ltd', > ), > > 'overwrite.cli.url' => 'https://domain.ltd', > 'overwriteprotocol' => 'https', > ``` > > NC works as expected now on k3s cluster. > Mais ça ne marche pas chez moi. J'ai une redirection https par traefik : c'est peut etre lié à ca ? # Nextcloud forum 2 [Desktop Client is trying to use HTTP instead of HTTPS - ℹ️ Support / 📦 Appliances (Docker, Snappy, VM, NCP, AIO) - Nextcloud community](https://help.nextcloud.com/t/desktop-client-is-trying-to-use-http-instead-of-https/122288/11) > [!quote] > Jakub_Gondar - Sep 2021 > > Hello, I had the same problem, I have set both `overwrite.cli.url` and `overwriteprotocol` but it was still not working… > > But what did fixed it for me was REMOVING **`overwritecondaddr`** parameter! After removing it, everything is working now for me. je trouve pas `overwritecondaddr`... extyrait de mon config.php : ![[Nextcloud error - http vs https-20250306123726522.jpg]] ## Enlever http(s) de overwrite.cli.url > [!quote] [franko5 - Sep 2021](https://help.nextcloud.com/t/desktop-client-is-trying-to-use-http-instead-of-https/122288/20) > > Thanks, this worked for me too, url without http(s). > Best. Si j'enlève le http ou https de overwrite.cli.url, ça ne marche pas nn plus # Solution ```php 'overwritehost' => 'nexcloud.achilltoupin.com', 'overwriteprotocol' => 'https', ``` pas de https avant le host