I have a website that runs behind a reverse proxy using NGiNX 1.18 and Let’s Encrypt SSL cert. NGiNX converts http to https and adds the www. So it is https://www.nextcloud.domain.com
and Nextcloud resides in /var/www/cloud
. I am confused as to how I am to write the overwritewebroot
properly since this is in a subdomain and not https://www.domain.com/nextcloud
.
Can anyone please help?