Манифест ингреса
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: test-ingress
namespace: example
annotations:
ingress.kubernetes.io/proxy-body-size: '0'
nginx.ingress.kubernetes.io/proxy-body-size: '0'
nginx.ingress.kubernetes.io/rewrite-target: /
nginx.ingress.kubernetes.io/ssl-passthrough: "true"
nginx.ingress.kubernetes.io/backend-protocol: "HTTPS"
spec:
tls:
- hosts:
- example.com
secretName: ssl-secret
rules:
- host: example.com
http:
paths:
- pathType: Prefix
path: /
backend:
service:
name: backend
port:
number: 443
конфиг nginx в ингрес контроллеле
location / {
set $service "example";
proxy_http_version 1.1;
proxy_connect_timeout 60s;
proxy_read_timeout 60s;
proxy_send_timeout 60s;
client_max_body_size 1m;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-Port $server_port;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_buffering on;
proxy_pass http://*-80;
}
nginx-ingress установлен без каких либо настроек, через хельм - helm install nginx-ingress
oci://ghcr.io/nginxinc/charts/nginx-ingress --version 1.2.2 -n ingress
В чем может быть проблема и в какую сторону нужно копать?