본문 바로가기
반응형

https3

Harbor 구성시 EXT_ENDPOINT https로 서비스하기(behind nginx) 문제 현상Reverse(Nginx)는 443으로 서비스를 하고 있는데, 실제 Container를 Pull 해갈때, http(80)포트로 시도함. 현재 구성nginx1(https, letsencrypt) harbor proxy(nginx, http) harbor ui/registryReverseProxy인 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의 주소를 ht.. 2025. 4. 29.
git proxy Setting(http/https) 회사에서 서버들이 인터넷을 하기 위해 Proxy 를 사용해야 한다면, $git clone시 Proxy 설정이 반드시 필요하다. git Proxy 설정방법 : git config --global http.proxy git config --global https.proxy 예를 들면. Git config --global http.proxy 192.168.0.1:8080 위의 Proxy 설정은 ~/.gitconfig 에서 확인 가능하다. 2022. 1. 7.
Nginx 80 redirect 443(force redirect to HTTPS) Nginx HTTP(80)로 들어오면 강제로 HTTPS(443)로 전환하도록 설정하기 [설정방법] /conf/nginx.conf 설정 수정 Server 블록을 80과 443으로 분리 server { listen 80; server_name example.com; root html; } server { listen 443 ssl https; server_name example.com root html; } 그중 HTTP를 제공하는 서버 블록에 location 설정을 추가해주면 됩니다. HTTP요청을 HTTPS로 301 Redirect 응답을 보내줍니다. server { listen 80; server_name example.com; root html; location / { return 301 https:.. 2022. 1. 7.
반응형