Delete port from the repository URL

I run the SCM Manager with nginx as a reverse proxy on port 80. Everything works perfectly.
I have set https://contoso.de/scm as the base URL. Cloning repositories also works via https://contoso.de/scm. In the repository information section, however, https://contoso.de:80/scm/… is displayed. How can I delete the port?
Thank you very much!

Hi, this sounds strange. Do you have configured Nginx following the manual, or to be specifig: Do you have configured the following header correctly? As far as I know, the host and the port is built from these information:

proxy_set_header X-Forwarded-Host $host:$server_port;

Thank you @pfeuffer, you asked the right question. I was making nonsense. Yes, I proceeded according to the manuel. But I wanted to automatically redirect from contoso.de to contoso.de/scm. I did that with proxy_redirect, which is nonsense.
Now everything works and the port is no longer displayed. Sorry!

1 Like

I have closed this thread since there was no activity in the last 30 days.