After migration, the new address jumps back to the old address

After the gitlab migration, the domain name redirection problem, the old machine domain name www.a.com new machine domain name www.b.com, access to the new machine domain name /, directly redirected to the old machine domain name login, resulting in the normal access to the new gitlab address , If you want to access the new one, you need to add /user behind the domain name to access normally.

gitlab version 12.4.1

  • I posted a similar post
  • I have been waiting for the problem to be solved for a long time. I hope someone can give me an answer
  • I studied it for a month, and finally solved it.
    *solution
    database: postgresql table: application_settings
    This table records my old domain name address