@RandomDuck You’ll need to set up an SSL certificate and either configure Nakama to do SSL negotiation (not recommended especially not in production) or set up a load balancer that does the SSL termination.
You cannot just set “https” instead of “http” as the protocol scheme and have the client SDK work. Unfortunately this is not how SSL works. I recommend you look at a service like LetsEncrypt which can issue you a certificate to use for free.