X-Forwarded-Proto seems to be ignored

Hello there,

I’m trying to set up a reverse proxy with SSL-offload to publish NextCloud. It does work, but it tries to redirect continously to clear HTTP.

I am forwarding the HTTP header called X-Forwarded-Proto, which contains “https”, but it seems that NextCloud doesn’t look at it.

This makes impossible to use it inside an iFrame if the parent frame was loaded using https, because of mixed content. For example, it it not possible to include in Organizr when protected behind reverse proxy.

Thanks!

ive noticed the same thing but i have no solution yet.