diff --git a/etc/helm/values/production.yaml b/etc/helm/values/production.yaml index d88f6ea..693160b 100644 --- a/etc/helm/values/production.yaml +++ b/etc/helm/values/production.yaml @@ -17,6 +17,14 @@ ingress: hosts: - www.stackage.org - stackage.org + annotations: + kubernetes.io/ingress.class: "nginx" + kubernetes.io/tls-acme: "true" + nginx.ingress.kubernetes.io/use-regex: "true" + nginx.ingress.kubernetes.io/configuration-snippet: | + if ($host = 'stackage.org' ) { + rewrite ^ https://www.stackage.org$request_uri permanent; + } stackageResources: resources: