FQDN and port for Repo URLs

I’m trying to set my Nexus3 server up behind a reverse proxy, and cannot seem to get the repo url to change.

I realize this is similar to Change the URL for Repositories, however, I figure it’s been 2 years and the situation might have been different now + didn’t want to necro.

Is this still not completely possible? I have a FQDN, but mine still shows up with 8081 for the port. I tried adding :80 as the port under the Base URL component, but that didn’t seem to do anything.

image

You’ll need to have the reverse proxy send the port that should be used for outbound URL’s via the X-Forwarded-Port header. For example, in nginx:

proxy_set_header      X-Forwarded-Port $proxy_port;

Rich

Thank you!