Skip to content
Open
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion stable/artifactory-ha/files/nginx-artifactory-conf.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
{{- if .Values.nginx.https.enabled }}
{{- if .Values.nginx.https.protocols }}
ssl_protocols {{ .Values.nginx.https.protocols }};
{{- else -}}
ssl_protocols TLSv1 TLSv1.1 TLSv1.2 TLSv1.3;
{{- end }}
{{- if .Values.nginx.https.ciphers }}
ssl_ciphers {{ .Values.nginx.https.ciphers }};
{{- end }}
ssl_certificate {{ .Values.nginx.persistence.mountPath }}/ssl/tls.crt;
ssl_certificate_key {{ .Values.nginx.persistence.mountPath }}/ssl/tls.key;
ssl_session_cache shared:SSL:1m;
Expand Down Expand Up @@ -95,4 +102,4 @@ location / {
{{- end }}
}
}
}
}
9 changes: 8 additions & 1 deletion stable/artifactory/files/nginx-artifactory-conf.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
{{- if .Values.nginx.https.enabled }}
{{- if .Values.nginx.https.protocols }}
ssl_protocols {{ .Values.nginx.https.protocols }};
{{- else -}}
ssl_protocols TLSv1 TLSv1.1 TLSv1.2 TLSv1.3;
{{- end }}
{{- if .Values.nginx.https.ciphers }}
ssl_ciphers {{ .Values.nginx.https.ciphers }};
{{- end }}
ssl_certificate {{ .Values.nginx.persistence.mountPath }}/ssl/tls.crt;
ssl_certificate_key {{ .Values.nginx.persistence.mountPath }}/ssl/tls.key;
ssl_session_cache shared:SSL:1m;
Expand Down Expand Up @@ -95,4 +102,4 @@ location / {
{{- end }}
}
}
}
}