Access problem because "untrusted domain" but it is in the config

Add 10.0.14.11 to trusted_domains like so:

'trusted_domains' =>
  array (
    0 => 'nextcloud.mydomain.com',
    1 => '10.0.14.11`,
  ),

What URL did you use to install originally?

(you can redact it/modify it for privacy, but basically give me an idea of what you used).

And your Nextcloud VM’s NGINX is basically this?

https://docs.nextcloud.com/server/latest/admin_manual/installation/nginx.html#nextcloud-in-the-webroot-of-nginx