Add redirect-permanent to kubernetes template
This commit is contained in:
parent
7a1feb3c51
commit
f5b306e7ff
2 changed files with 2 additions and 0 deletions
|
@ -1089,6 +1089,7 @@ var _templatesKubernetesTmpl = []byte(`[backends]
|
||||||
entryPoint = "{{ $frontend.Redirect.EntryPoint }}"
|
entryPoint = "{{ $frontend.Redirect.EntryPoint }}"
|
||||||
regex = "{{ $frontend.Redirect.Regex }}"
|
regex = "{{ $frontend.Redirect.Regex }}"
|
||||||
replacement = "{{ $frontend.Redirect.Replacement }}"
|
replacement = "{{ $frontend.Redirect.Replacement }}"
|
||||||
|
permanent = {{ $frontend.Redirect.Permanent }}
|
||||||
{{end}}
|
{{end}}
|
||||||
|
|
||||||
{{if $frontend.Errors }}
|
{{if $frontend.Errors }}
|
||||||
|
|
|
@ -69,6 +69,7 @@
|
||||||
entryPoint = "{{ $frontend.Redirect.EntryPoint }}"
|
entryPoint = "{{ $frontend.Redirect.EntryPoint }}"
|
||||||
regex = "{{ $frontend.Redirect.Regex }}"
|
regex = "{{ $frontend.Redirect.Regex }}"
|
||||||
replacement = "{{ $frontend.Redirect.Replacement }}"
|
replacement = "{{ $frontend.Redirect.Replacement }}"
|
||||||
|
permanent = {{ $frontend.Redirect.Permanent }}
|
||||||
{{end}}
|
{{end}}
|
||||||
|
|
||||||
{{if $frontend.Errors }}
|
{{if $frontend.Errors }}
|
||||||
|
|
Loading…
Reference in a new issue