|
@ -20,7 +20,7 @@ metadata: |
|
|
cert-manager.io/cluster-issuer: "letsencrypt-prod" |
|
|
cert-manager.io/cluster-issuer: "letsencrypt-prod" |
|
|
{{- end }} |
|
|
{{- end }} |
|
|
{{- if contains "nginx" .Values.ingress.class }} |
|
|
{{- if contains "nginx" .Values.ingress.class }} |
|
|
{{- if .Values.ingress.vhostmonster -}} |
|
|
{{- if .Values.ingress.vhostmonster }} |
|
|
nginx.ingress.kubernetes.io/rewrite-target: "/VirtualHostBase/https/{{ $hostPrefix }}.{{ $hostName }}:443{{ $zopeFolder }}portal/VirtualHostRoot/$1" |
|
|
nginx.ingress.kubernetes.io/rewrite-target: "/VirtualHostBase/https/{{ $hostPrefix }}.{{ $hostName }}:443{{ $zopeFolder }}portal/VirtualHostRoot/$1" |
|
|
{{- end }} |
|
|
{{- end }} |
|
|
nginx.ingress.kubernetes.io/from-to-www-redirect: "true" |
|
|
nginx.ingress.kubernetes.io/from-to-www-redirect: "true" |
|
@ -33,7 +33,7 @@ metadata: |
|
|
{{- else }} |
|
|
{{- else }} |
|
|
# DO NOT USE TLS |
|
|
# DO NOT USE TLS |
|
|
{{- if contains "nginx" .Values.ingress.class }} |
|
|
{{- if contains "nginx" .Values.ingress.class }} |
|
|
{{- if .Values.ingress.vhostmonster -}} |
|
|
{{- if .Values.ingress.vhostmonster }} |
|
|
nginx.ingress.kubernetes.io/rewrite-target: "/VirtualHostBase/http/{{ $hostPrefix }}.{{ $hostName }}:80{{ $zopeFolder }}portal/VirtualHostRoot/$1" |
|
|
nginx.ingress.kubernetes.io/rewrite-target: "/VirtualHostBase/http/{{ $hostPrefix }}.{{ $hostName }}:80{{ $zopeFolder }}portal/VirtualHostRoot/$1" |
|
|
{{- end }} |
|
|
{{- end }} |
|
|
{{- end }} |
|
|
{{- end }} |
|
|