How do we set primary domain on Galaxy?

As replyed [here]Galaxy: Error in OAuth Server: redirectUrl (https://my-domain.com) is not on the same host as the app (https://my-app.meteorapp.com/) - #3 by italojs), you should set ROOT_URL from envs but not from setting.json