One of the following (depending if you are using NODE_ENV)
./config/server.js./config/env/yourNodeEnv/server.js
You need to set the url key to the public domain including the http/https and rebuild your admin panel. https://strapi.io/documentation/v3.x/concepts/configurations.html#server