반응형
문제 현상
Reverse(Nginx)는 443으로 서비스를 하고 있는데, 실제 Container를 Pull 해갈때, http(80)포트로 시도함.
현재 구성
nginx1(https, letsencrypt) <-> harbor proxy(nginx, http) <-> harbor ui/registry
ReverseProxy인 Nginx(HTTPS) 뒤에 HTTP로 Harbor를 실행
( Running Harbor with HTTP behind a HTTPS Reverse Proxy (nginx) )
Harbor version : v2.12.2
기대하는 현상
Container Image를 Pull 받아갈 때, 443포트를 이용해서 통신하기를 원한다.
조치방법
Harbor에서 External EndPoint의 주소를 http가 아닌 https 로 변경해주어야 한다.
경로 : /<harbor directory>/common/config/core/env
...
변경 전 Value : ENT_ENDPOINT=http://<domain>
변경 후 Value : ENT_ENDPOINT=https://<domain>
...
참고 : https://github.com/goharbor/harbor/issues/3114#issuecomment-424992795
반응형
'IT Knowledge > Repository' 카테고리의 다른 글
Harbor 구성시 오류 - 413 Request Entity Too Large <nginx> (0) | 2025.04.25 |
---|---|
Harbor 구성시 오류 - Image Upload 401 unauthorized (0) | 2025.04.25 |
Harbor 재구성(Re-Config) (0) | 2025.04.10 |
Harbor Install(Rocky 8 & offline) (0) | 2025.04.08 |
Harbor(Private Docker Registry) 개요 & Features (0) | 2025.04.08 |
댓글