Skip to content
Snippets Groups Projects
Verified Commit 4f547259 authored by Janne Mareike Koschinski's avatar Janne Mareike Koschinski
Browse files

feat: redirect well-known to radicale itself

parent 10b4a4e6
Branches main
Tags 1.3.2
No related merge requests found
Pipeline #2772 passed
......@@ -10,7 +10,7 @@ metadata:
nginx.ingress.kubernetes.io/cache-generation: "2"
nginx.ingress.kubernetes.io/cache-whitelist-query-params: ""
nginx.ingress.kubernetes.io/configuration-snippet: |-
rewrite ^/.well-known/(carddav|caldav)$ "https://{{ .Values.webdav.host }}{{ .Values.webdav.path }}" permanent;
rewrite ^/.well-known/(carddav|caldav)$ "https://{{ .Values.webdav.host }}{{ .Values.webdav.path }}/.well-known/$1" permanent;
rewrite ^/mail/(.*) /$1 last;
{{- range $key, $value := .Values.ingress.annotations }}
{{- printf "%s: %s" $key (tpl $value $ | quote) | nindent 4 }}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment