tusd/.infra/kube/ingress-tls.yaml

28 lines
661 B
YAML
Raw Normal View History

apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: tusd
namespace: tus
annotations:
kubernetes.io/tls-acme: "true"
kubernetes.io/ingress.class: "nginx"
ingress.kubernetes.io/proxy-request-buffering: 'off'
ingress.kubernetes.io/proxy-body-size: '400m'
ingress.kubernetes.io/proxy-connect-timeout: "300"
ingress.kubernetes.io/proxy-send-timeout: "300"
ingress.kubernetes.io/proxy-read-timeout: "300"
spec:
tls:
- hosts:
- tusd.kiloreux.me
secretName: tusd-tls
rules:
- host: tusd.kiloreux.me
http:
paths:
- path: /
backend:
serviceName: tusd
servicePort: 80