Skip to content

Commit 0da6820

Browse files
dguarasciothjaeckle
authored andcommitted
fix: use tmp paths for nginx
1 parent 68ed4a7 commit 0da6820

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

deployment/helm/ditto/templates/nginx-configmap.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,7 @@ metadata:
2020
{{ include "ditto.labels" . | indent 4 }}
2121
data:
2222
nginx.conf: |-
23-
{{ if .Values.openshift.enabled -}}
2423
pid /tmp/nginx.pid;
25-
{{- end }}
2624
worker_processes {{ .Values.nginx.config.workerProcesses }};
2725
2826
events {
@@ -35,6 +33,12 @@ data:
3533
include mime.types;
3634
server_tokens off;
3735
36+
client_body_temp_path /tmp/client_temp;
37+
proxy_temp_path /tmp/proxy_temp_path;
38+
fastcgi_temp_path /tmp/fastcgi_temp;
39+
uwsgi_temp_path /tmp/uwsgi_temp;
40+
scgi_temp_path /tmp/scgi_temp;
41+
3842
proxy_connect_timeout {{ .Values.nginx.config.timeout }}; # seconds, default: 60
3943
proxy_send_timeout {{ .Values.nginx.config.timeout }}; # seconds, default: 60
4044
proxy_read_timeout {{ .Values.nginx.config.timeout }}; # seconds, default: 60

0 commit comments

Comments
 (0)