Can someone share their config files for a working reverse proxy with SSL

For point 3. Check this out:

Nextcloud Config you can find under “Config report”: