docker-gitlab icon indicating copy to clipboard operation
docker-gitlab copied to clipboard

Sends the link with a port when resetting the user password.

Open kabengwa opened this issue 4 years ago • 3 comments

When I reset the user password the system sends the link to reset with a port and that just fails until you manually remove the port from the URL. How can I solve this so that no port is sent?

I have this container behind a reverse proxy from jwilder/nginx-proxy and jrcs/letsencrypt-nginx-proxy-companion.

Thank you in advance.

kabengwa avatar Oct 13 '21 11:10 kabengwa

Is your setting parameter GITLAB_PORT correct? This parameter will appear to emails as-is I think.

kkimurak avatar Oct 13 '21 21:10 kkimurak

This is what I have in the ymal file GITLAB_PORT=1008. What is the right way of doing it? should I remove it or there is a setting that I must change so that it is not sent in emails.

kabengwa avatar Nov 02 '21 12:11 kabengwa

Well, according to your comment, You want to remove port number from link in email, right?
Then just remove (or comment out) GITLAB_PORT settings.

This will automatically set port in generated URL to 80 (or 443 if https enabled - they are default port), and gitlab will remove default port when generating email.

kkimurak avatar Nov 02 '21 13:11 kkimurak