Setting ssl-redirect to true

This commit is contained in:
kiloreux 2019-08-14 13:33:36 +01:00
parent 51a6afccbc
commit 34e32999fb
1 changed files with 1 additions and 8 deletions

View File

@ -10,13 +10,6 @@ spec:
labels:
app: tusd
spec:
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: cloud.google.com/gke-preemptible
operator: DoesNotExist
containers:
- image: docker.io/tusproject/tusd:latest
imagePullPolicy: Always
@ -63,7 +56,7 @@ metadata:
nginx.ingress.kubernetes.io/proxy-read-timeout: "300"
nginx.ingress.kubernetes.io/proxy-request-buffering: "off"
nginx.ingress.kubernetes.io/proxy-send-timeout: "300"
nginx.ingress.kubernetes.io/ssl-redirect: "false"
nginx.ingress.kubernetes.io/ssl-redirect: "true"
spec:
tls:
- hosts: