Error from nextcloud 19 "You access your instance through a secure connection, yet it generates insecure URLs. This probably means that you are behind a reverse proxy and the rewrite variables are not set correctly."

hi,

i use nextcloud 19 with debian, i have this error “You access your instance through a secure connection, yet it generates insecure URLs. This probably means that you are behind a reverse proxy and the rewrite variables are not set correctly.”

in french "Vous accédez à votre instance via une connexion sécurisée, pourtant celle-ci génère des URLs non sécurisées. Cela signifie probablement que vous êtes derrière un reverse-proxy et que les variables de réécriture ne sont pas paramétrées correctement. "

i don’t know why,

thanks for any response.

Please post your configuration for webserver (apache2/nginx) and nextcloud (config/config.php). Please post also the used installation guide.

I use this guide for Debian, Apache2 and Nextcloud and it works fine:
https://www.howtoforge.com/tutorial/how-to-install-nextcloud-on-debian-10

Can you post where you differ from it?