Thanks sunnyson, I have now updated the url line to read
url: env(‘PUBLIC_URL’, ‘https://sub.my.domain’),
however that has not affected the problem. the admin interface still tries to call a script at 'http://ip.address/admin/init'
and i still get a mixed content error