'ingress I make an https request in the logs, I see that the request goes via http
I'm setting up an ingress config in AKS. Below is my ingress file.
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: test-api
labels:
app.kubernetes.io/instance: test-dev
app.kubernetes.io/name: test-api
annotations:
kubernetes.io/ingress.class: nginx
nginx.ingress.kubernetes.io/configuration-snippet: |
more_clear_headers Server;
spec:
tls:
- hosts:
- api-test.dev.test.net
secretName: test-tls-certificate
rules:
- host: api-test.dev.test.net
http:
paths:
- path: /
pathType: ImplementationSpecific
backend:
service:
name: test-api
port:
number: 80
But when I make a request via postman to https in the logs, I see that the request comes via http. My auth server for our apps only works over https. How can I send traffic over https only and disable http? Thanks.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
