Initially I had admin. subdomain. Now I changed it to cms.. Updated nginx rules, reissued certificates. Can load dashboard successfully from new subdomain.
However old subdomain is still appearing in some places - in initial message and in media urls (they are trying to load from admin.).
With media thumbnails are obviously not working, but also new ones not uploading and old ones not updating (not allowed to perform this action).
Inside main config file server url is loaded from .env file (updated value there to be new subdomain). And inside media collection config static url is also loaded from .env (just /media).
What can be wrong here?