본문 바로가기

nginx ingress2

Contour HTTPProxy 전환 시 NGINX client-max-body-size, proxy-body-size Contour HTTPProxy 전환 시 NGINX client-max-body-size 500m 대체 방법기존 Kubernetes 환경에서 NGINX Ingress Controller를 사용하다가 Contour 기반 환경으로 이전할 때, 파일 업로드 용량 제한 설정도 함께 점검해야 합니다.기존 Ingress에는 다음과 같은 설정이 적용되어 있을 수 있습니다.client-max-body-size: "500m"Ingress-NGINX에서는 일반적으로 다음 annotation을 사용합니다.metadata: annotations: nginx.ingress.kubernetes.io/proxy-body-size: "500m"이 설정은 클라이언트가 서버로 전송하는 HTTP Request Body의 최대 크기.. 2026. 7. 21.
Kubernetes NGINX Ingress에서 Contour HTTPProxy로 이전할 때 HTTP→HTTPS Redirect 설정 비교 Kubernetes NGINX Ingress에서 Contour HTTPProxy로 이전할 때 HTTP→HTTPS Redirect 설정 비교기존 Kubernetes 환경에서 NGINX Ingress Controller를 사용하다가 새로운 클라우드 Kubernetes 환경의 Contour로 이전하면, 기존에는 별다른 설정 없이 동작하던 HTTP→HTTPS 전환이 새 환경에서는 동작하지 않는 것처럼 보일 수 있습니다.특히 다음과 같은 구조에서는 HTTP로 접속한 프런트엔드가 HTTPS API를 호출하면서 CORS 오류가 발생할 수 있습니다.프런트엔드 페이지http://app.company.comAPI 호출https://app.company.com/properties도메인이 같더라도 http와 https는 서로.. 2026. 7. 21.