Login error from iphone app

When i try to login to my nextcloud, i receive error:

The redirection in HTTP is not permitted.

Installation in Ubuntu 22.04-SNAP. The installation is behind the reverse proxy nginx.

Try setting overwriteprotocol to https

thanx) it worked!

Hi, habe auch so ein Problem

Nur weiß ich mangels Wissen, bei deiner Lösung nicht, Wo ich Was machen muss.
Bitte Hilfe
Danke.