How to change created new user's certification mail's format


My Gitlab is GitLab Community Edition 8.12.3

And I will change my gitlab URL port, like

When I created new user, gitlab will sed a Certification mail to new use.

The mail like this : (created new user : mis)


send to mis

Hi mis!

Your account has been created successfully.


Click here to set your password

This link is valid for 2 days. After it expires, you can request a new one.

View it on GitLab.
You’re receiving this email because of your account on If you’d like to receive fewer emails, you can adjust your notification settings.

But the mail all URL is link to , not link to

Please help me , how to setting can change this.


I find the format : /opt/gitlab/embedded/service/gitlab-rails/app/views/notify/new_user_email.html.haml or

that is like :


But I don’t know how to setting can let me done.

Please help and thanks.