Verified Commit c45f363c authored by Hugo's avatar Hugo
Browse files

redirect uri

parent 6c7a695e
......@@ -6,9 +6,9 @@ metadata:
annotations:
kubernetes.io/tls-acme: "true"
{{- if $val.permanent }}
nginx.ingress.kubernetes.io/permanent-redirect: https://{{ tpl $.Values.domain $ }}
nginx.ingress.kubernetes.io/permanent-redirect: https://{{ tpl $.Values.domain $ }}$uri
{{- else }}
nginx.ingress.kubernetes.io/temporal-redirect: https://{{ tpl $.Values.domain $ }}
nginx.ingress.kubernetes.io/temporal-redirect: https://{{ tpl $.Values.domain $ }}$uri
{{- end }}
labels:
{{- include "hedgedoc.labels" $ | nindent 4 }}
......
......@@ -6,9 +6,9 @@ metadata:
annotations:
kubernetes.io/tls-acme: "true"
{{- if $val.permanent }}
nginx.ingress.kubernetes.io/permanent-redirect: https://{{ tpl $.Values.domain $ }}
nginx.ingress.kubernetes.io/permanent-redirect: https://{{ tpl $.Values.domain $ }}$uri
{{- else }}
nginx.ingress.kubernetes.io/temporal-redirect: https://{{ tpl $.Values.domain $ }}
nginx.ingress.kubernetes.io/temporal-redirect: https://{{ tpl $.Values.domain $ }}$uri
{{- end }}
labels:
{{- include "hedgedoc.labels" $ | nindent 4 }}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment