Skip to content

Commit

Permalink
update nginx ingress host
Browse files Browse the repository at this point in the history
  • Loading branch information
Matlavv committed Dec 12, 2024
1 parent c300c89 commit b49bd8f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions opensource/templates/nginx/nginx-ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ spec:
{{- if .Values.ingress.tls }}
tls:
- hosts:
- {{ .Values.env }}.{{ .Values.domain }}
- {{ .Values.env }}{{ .Values.domain }}
secretName: {{ .Release.Name }}-tls-certificate
{{- end }}
rules:
- host: '{{ .Values.env }}.{{ .Values.domain }}'
- host: '{{ .Values.env }}{{ .Values.domain }}'
http:
paths:
- path: {{ if hasKey .Values.mediaProvider "apiPrefix" }}{{ .Values.mediaProvider.apiPrefix }}/assets/media{{ else }}/assets/media{{ end }}
Expand All @@ -31,4 +31,4 @@ spec:
service:
name: nginx
port:
number: 80
number: 80

0 comments on commit b49bd8f

Please sign in to comment.