Nextcloud unreacgable after enabling https

I am using Ubuntu 16.04
I installed nextcloud by snap and everything worked fine until i use this command

sudo nextcloud.enable-https self-signed

i can’t access to my nextcloud and i don’t know why… i disabled https and it says

HTTPS doesn’t seem enabled

is there any way that i can access to my nextcloud account?
Please help me Thank you.