Skip to content

Instantly share code, notes, and snippets.

@selcukusta
Created January 27, 2020 08:52
Show Gist options
  • Save selcukusta/985d68120089514b1b5c23fa558926f2 to your computer and use it in GitHub Desktop.
Save selcukusta/985d68120089514b1b5c23fa558926f2 to your computer and use it in GitHub Desktop.
apiVersion: networking.istio.io/v1alpha3
kind: Gateway
metadata:
name: app-gw
spec:
selector:
istio: ingressgateway
servers:
- hosts:
- "selcukusta.com"
- "www.selcukusta.com"
port:
number: 80
name: http
protocol: HTTP
tls:
httpsRedirect: true
- hosts:
- "selcukusta.com"
- "www.selcukusta.com"
port:
number: 443
name: https
protocol: HTTPS
tls:
mode: SIMPLE
serverCertificate: /etc/istio/ingressgateway-selcukusta-com-certs/tls.crt
privateKey: /etc/istio/ingressgateway-selcukusta-com-certs/tls.key
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment