Skip to content

Commit

Permalink
fix: gateway ssl config indentation (#703)
Browse files Browse the repository at this point in the history
  • Loading branch information
mstefany authored Jan 17, 2024
1 parent a837f24 commit f14f58d
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions charts/apisix-ingress-controller/templates/apisix-configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,15 +51,7 @@ data:
udp:
- 9200
nginx_config:
error_log: "{{ .Values.gateway.nginx.errorLog }}"
error_log_level: "{{ .Values.gateway.nginx.errorLogLevel }}" # warn,error
worker_processes: "{{ .Values.gateway.nginx.workerProcesses }}"
worker_rlimit_nofile: {{ .Values.gateway.nginx.workerRlimitNofile }} # the number of files a worker process can open, should be larger than worker_connections
event:
worker_connections: {{ .Values.gateway.nginx.workerConnections }}
ssl:
ssl:
enable: {{ .Values.gateway.tls.enabled }}
listen:
- port: {{ .Values.gateway.tls.containerPort }}
Expand All @@ -76,6 +68,14 @@ data:
fallback_sni: {{ .Values.gateway.tls.fallbackSNI | quote }}
{{- end }}
nginx_config:
error_log: "{{ .Values.gateway.nginx.errorLog }}"
error_log_level: "{{ .Values.gateway.nginx.errorLogLevel }}" # warn,error
worker_processes: "{{ .Values.gateway.nginx.workerProcesses }}"
worker_rlimit_nofile: {{ .Values.gateway.nginx.workerRlimitNofile }} # the number of files a worker process can open, should be larger than worker_connections
event:
worker_connections: {{ .Values.gateway.nginx.workerConnections }}
plugins: # plugin list (sorted by priority)
- real-ip # priority: 23000
- ai # priority: 22900
Expand Down Expand Up @@ -171,4 +171,4 @@ data:
export_uri: /apisix/prometheus/metrics
metric_prefix: apisix_
{{- end }}
{{ end }}
{{ end }}

0 comments on commit f14f58d

Please sign in to comment.