Skip to content

Commit

Permalink
feat(internal-gateway): add server directives
Browse files Browse the repository at this point in the history
  • Loading branch information
mikhail-klimko committed Feb 28, 2024
1 parent 30609a6 commit 9f46f4d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/internal-gateway/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
appVersion: v0.0.0
description: A Helm chart for Codefresh Internal Gateway
name: internal-gateway
version: 0.6.0
version: 0.6.1
home: https://github.com/codefresh-io/helm-charts
keywords:
- codefresh
Expand Down
4 changes: 4 additions & 0 deletions charts/internal-gateway/templates/_components/_configmap.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,10 @@ data:
listen 8080;
listen [::]:8080;
{{- range $key, $val := $nginxConfig.serverDirectives }}
{{ printf "%s %s;" $key $val }}
{{- end }}

{{- range $key, $val := $nginxConfig.locations }}
{{- if $val.enabled }}
location {{ $key }} {
Expand Down

0 comments on commit 9f46f4d

Please sign in to comment.