Snap install trusted domains

hey there,

I have a snap install of nextcloud on ubuntu server with nginx.

I have created as subdomain with https “nextcloud.mysite.com

I have added this and the ip to “trusted domains”, but keep getting the message “your not accessing from a trusted domain”.

here’s the list of my trusted domains on the config file:

127.0.0.1: 0
nextcloud.mysite.com: 1
localhost: 2
206.81.xxxxx:80: 3
206.81.xxxxx: 4
206.81.xxxxx:444: 5
205.81.xxxxx:443: 6

any ideas?