Помогите уже достал Nextcloud Docker Nginx

please look at good examples

at the first glance I see you are trying to access https://{ip address} which can never ever have valid public TLS certificate - likely your are using self-signed-certificate and suffer from well known problems caused by this configuration

your trusted proxies loos really weird - this should only have ip addresses/ranges without https:*.*.*.* is completely invalid AFAIK - valid alternative would be 0.0.0.0.0/0 - if you want to completely ignore security measures applied to reverse rpoxy.

I would recommend you familiarize yourself with technologies you are using e.g. check the 101 topics especially 101: reverse proxy and trusted_proxies