Email not sending correct url on updating nginx port

I updated my nginx port and reload it, everything is working fine but when I sent welcome email, it send me previous port url how to resolve this?

Thanks for reporting this Khadija

A search Search results for 'nginx change port email link' - ERPNext Forum

uncovered this Current procedure to change http port

No sign of that reported here so added it when nginx port is changed the url link in the email welcome to register is not updated · Issue #17044 · frappe/erpnext · GitHub