How to set custom domain in Nexus Repo without port in URL

Saddam Hussain I H

I have installed Nexus Repo in my Ubuntu server, I was able resolve IP address to custom domain.

Now if I want to access the repo I would do the below

http://example.com:8081

I dont want to specify the port in the URL, I need to know, how can I use port 80 or 443 that browser defaults to. Currently Port 80 is being used by nginx server. I tried changing the port of nginx to different port and then changed the nexus port to 80 but Nexus is throwing error and failed to bind to port 80 or 443.

Is there a way to do it? my nexus repo should open if I just provide my domain name

http://example.com
Joakim Erdfelt

port 80 requires special permissions to allow a program to bind to it. (any port below 1024).

See: https://serverfault.com/a/112798

The above answer shows an IPTables solution.

Another thing you can do is just have nginx proxy requests to your nexus instance.

See: https://stackoverflow.com/a/46067132/775715

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

Amazon ALB: How to set up HTTPs listener without a custom domain

Redirect traffic to a domain with a port number without showing the port number in the URL

How to output url without domain

How to add a Git repo to another repo without knowing its URL?

installing apache airflow using a custom nexus repo

Gitlab: How to show http port in git repo url?

How to set React Custom Port like 3129

How to access tomcat application with domain name without giving port number

Domain is not working without port number

Custom Maven plugin deployed on Nexus can't be used on a project on local machine unless the plugin is installed on local repo or set as a dependency

How to set the proxy port and URL in R for the blsAPI

How to use git clone to set up the repo without downloading files?

Link custom domain to any GitHub repo

How to verify Mandrill custom sending domain without a mail receiving client?

maven upload file to Nexus repo without groupId and artifactId

How to set-up custom domain name in Azure Container Instance

How to set Context in tests without custom interceptors

PHP AWS SDK | How to create signed URL with custom domain

How to get the part of a URL without protocol nor domain

How to extract domain name without www from url

How can I get Django Absolute url without "www" in domain?

How can I get the URL (with protocol and domain) in Django (without request)?

How to change the domain of URL without changing query parameters using Requestly?

How redirect requests to another domain name without changing the website URL?

Change localhost with custom port to a fake domain

How to customize Sonatype Nexus running port?

Laravel - serve with custom port without --port option

CXF How to set SoapVersion on CXF port without Spring

How to set up a DNS cache server without port 53