반응형
harbor.yml 파일 수정
hostname: harbor.test.com
# http related config
http:
# port for http, default is 80. If https enabled, this port will redirect to https port
port: 81
# https related config
https:
# https port for harbor, default is 443
port: 443
# The path of cert and key files for nginx
certificate: /root/harbor/harbor.crt
private_key: /root/harbor/harbor.key
#http 통신 url 적어주기 이게 없으면 화면에서 로그인 안됨
external_url: http://harbor.test.com:81
nginx.conf 수정
http -> https로 자동 리다이렉션 처리되어있음
http에서 사용하는 port로 서비스가 들어왔을때도 https로 들어오는 것처럼 nginx.conf를 수정하면 됨
반응형
'Harbor' 카테고리의 다른 글
| Harbor 설치 방법 (1) | 2024.04.18 |
|---|