1. I updated and renamed "nextcloud.subdomain.conf.sample" - As a result the traffic is correctly forwarded to the Nextcloud docker.2. I updated "nextcloud/config/config.php" to trust my domain, added "trusted_proxies" and do the host/protocol overwriting:

PHP

'trusted_domains' =>

array (

0 => '192.168.0.111:444',

1 => 'get.acme.net'

),

'trusted_proxies' => ['letsencrypt'],

//'overwrite.cli.url' => 'https://192.168.0.111:444',

'overwrite.cli.url' => 'https://get.acme.net',

'overwritehost' => 'get.acme.net',

'overwriteprotocol' => 'https',

Display More

3. Now I had access-logs in the Nextcloud Nginx Log directory. But the browser screen always says "Bad Gateway".