recettes/Homelab/Nextcloud error - http vs https.md
gribse ecdfa2f7c4 Squashed 'temp-repo/' content from commit 6688605
git-subtree-dir: temp-repo
git-subtree-split: 6688605ad41f49d1eccead8d29421c658cad0100
2025-10-06 19:14:58 +02:00

1.9 KiB
Executable file
Raw Blame History

!

Nextcloud forum 1

The polling url does not start with https despite the login url started with https - Support - Nextcloud community

[!quote] catav - Apr 2022

Hi,
I found a solution after digging a lot on internet.
Following changes solve the problem.

  '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

[!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 :

!

Enlever http(s) de overwrite.cli.url

[!quote] franko5 - Sep 2021

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

'overwritehost' => 'nexcloud.achilltoupin.com',
  'overwriteprotocol' => 'https',

pas de https avant le host