logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

Ingress访问后端K8s pod如果需要https的配置

Ingress的扩展也有好多种如果用的是nginx ingress,需要在ingress上添加annotationskind: Ingressmetadata:annotations:nginx.ingress.kubernetes.io/backend-protocol: HTTPS如果用的是kong ingress扩展,需要在service层添加annotationskind: Service

#https#nginx
ingress强跳https配置

ingress的扩展有好多种,现举例nginx和kong的ingress对于nginx ingress,强跳https的配置为nginx.ingress.kubernetes.io/force-ssl-redirect:true从对于kong ingress,强跳https的配置为kong.ingress.kubernetes.io/force-ssl-redirect:truekonghq.co

#https#nginx#运维
到底了