WebDAV setup issue? NGINX configuration

config.php:
This is the start of the CONFIG array in my config.php, with some redaction for privacy.

      1 <?php
      2 $CONFIG = array (
      3   'memcache.local' => '\\OC\\Memcache\\APCu',
      4   'memcache.distributed' => '\\OC\\Memcache\\Redis',
      5   'redis' =>
      6   array (
      7     'host' => 'redis',
      8     'port' => 6379,
      9   ),
     10   'filelocking.enabled' => true,
     11   'memcache.locking' => '\\OC\\Memcache\\Redis',
     12   'datadirectory' => '/data',
     13   'trusted_proxies' => ['192.168.1.25'],
     14 #  'trusted_proxies' =>
     15 #  array (
     16 #    0 => 'nginx',
     17 #    1 => '192.168.1.25',
     18 #  ),
     19 //    'overwritewebroot' => '/nextcloud',
     20 //  'overwrite.cli.url' => 'https://mydomain.com/nextcloud',    // latest 1
     21   'overwrite.cli.url' => 'https://mydomain.com/',  // added 's' https. no change in admin warnings...
     22 //  'overwritehost' => 'https://mydomain.com',
     23 //  'overwritehost' => 'mydomain.com',
     24 //    'overwritehost' => 'ssl-proxy.com',
     25     'overwriteprotocol' >= 'https',.
     26   'trusted_domains' =>
     27   array (
     28     0 => '*.mydomain.com',
     29 //    0 => 'mydomain.com',
     30     1 => 'localhost',
     31     2 => '192.168.1.25',
     32     3 => '*mydomain.com',
     33   ),

This issue is similar to Nextcloud iOS app login fails
I got the IOS app to connect to my NC instance using the QR code approach. Still leaves WebDAV not working.

Output of requested OCC command:

rc@raspberrypi:/SSD $ sudo docker exec -it nextcloud sudo -u abc php /config/www/nextcloud/occ config:list system
{
    "system": {
        "memcache.local": "\\OC\\Memcache\\APCu",
        "memcache.distributed": "\\OC\\Memcache\\Redis",
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***",
            "port": 6379
        },
        "filelocking.enabled": true,
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "trusted_proxies": "***REMOVED SENSITIVE VALUE***",
        "overwrite.cli.url": "https:\/\/mydomain.com\/",
        "0": true,
        "trusted_domains": [
            "*xxxxxxxxx.com",
            "localhost",
            "192.168.1.25",
            "*.xxxxxx.com"
        ],
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "mysql",
        "version": "27.0.2.1",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "",
        "dbtableprefix": "oc_",
        "mysql.utf8mb4": true,
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "memories.exiftool": "\/config\/www\/nextcloud\/apps\/memories\/exiftool-bin\/exiftool-aarch64-musl",
        "memories.vod.path": "\/config\/www\/nextcloud\/apps\/memories\/exiftool-bin\/go-vod-aarch64",
        "memories.vod.ffmpeg": "\/usr\/bin\/ffmpeg",
        "memories.vod.ffprobe": "\/usr\/bin\/ffprobe",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpmode": "smtp",
        "mail_sendmailmode": "smtp",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpsecure": "ssl",
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": "465",
        "mail_smtpauth": 1,
        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
        "default_phone_region": "CA",
        "maintenance": false,
        "loglevel": 2,
        "theme": "",
        "app_install_overwrite": [
            "news",
            "cms_pico"
        ]
    }
}
rc@raspberrypi:/SSD $

Also going to the caldav url ( https://mydomain.com/.well-known/caldav) yielded this:

This is the WebDAV interface. It can only be accessed by WebDAV clients such as the Nextcloud desktop sync client.

My domain is also getting an A+ rating from https://www.ssllabs.com