diff --git a/templates/harbor.cfg.j2 b/templates/harbor.cfg.j2 index 0074952..21d6da3 100644 --- a/templates/harbor.cfg.j2 +++ b/templates/harbor.cfg.j2 @@ -5,7 +5,7 @@ _version = 1.7.0 #The IP address or hostname to access admin UI and registry service. #DO NOT use localhost or 127.0.0.1, because Harbor needs to be accessed by external clients. #DO NOT comment out this line, modify the value of "hostname" directly, or the installation will fail. -hostname = {{ harbor_hostname }} +hostname = {{ harbor_hostname }}:{{ harbor_api_port }} #The protocol for accessing the UI and token/notification service, by default it is http. #It can be set to https if ssl is enabled on nginx.