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

78 lines
No EOL
1.9 KiB
Markdown
Executable file
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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