28 lines
651 B
YAML
28 lines
651 B
YAML
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.tus.io
|
|
secretName: tusd-tls
|
|
rules:
|
|
- host: tusd.tus.io
|
|
http:
|
|
paths:
|
|
- path: /
|
|
backend:
|
|
serviceName: tusd
|
|
servicePort: 80
|
|
|