netbird icon indicating copy to clipboard operation
netbird copied to clipboard

custom define mapping port of docker 80&443

Open bizliaoyuan opened this issue 3 years ago • 4 comments

Some time need change the port at self hosting 。 the 80 port will be already in use by another program

bizliaoyuan avatar Dec 12 '21 09:12 bizliaoyuan

@bizliaoyuan can you clarify which service you are talking about? Is it the dashboard?

If so, you can change the mapped ports in the configuration, but the SSL won't work as it uses certbot's nginx plugin which verifies the domain via port 80.

mlsmaycon avatar Dec 12 '21 11:12 mlsmaycon

yes , it is the dashboard . and the http can't run . it will catch a error 1639307935(1)

bizliaoyuan avatar Dec 12 '21 11:12 bizliaoyuan

SSL will not run , if not 443 ?

bizliaoyuan avatar Dec 12 '21 11:12 bizliaoyuan

maybe add a server name in nginx? server_name ${LETSENCRYPT_DOMAIN:-"none"}; https://github.com/wiretrustee/wiretrustee-dashboard/blob/main/docker/default.conf

bizliaoyuan avatar Dec 12 '21 11:12 bizliaoyuan

closing this for inactivity. We can achieve the request by using a proxy like Caddy or Traefik in front of the dashboard

mlsmaycon avatar Nov 02 '22 08:11 mlsmaycon