From 6b38afaa80665faccd6e9f2047d6850e94f388f3 Mon Sep 17 00:00:00 2001 From: shy Date: Thu, 17 Mar 2022 21:11:06 +0800 Subject: [PATCH] opt some --- etc/conf/location.conf | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/etc/conf/location.conf b/etc/conf/location.conf index dfa2ddd8..c0a820b0 100644 --- a/etc/conf/location.conf +++ b/etc/conf/location.conf @@ -5,6 +5,12 @@ ssl_ciphers HIGH:!aNULL:!MD5; ssl_prefer_server_ciphers on; client_max_body_size 100m; +client_body_timeout 300s; + +client_body_in_file_only clean; +client_body_buffer_size 16K; +client_body_temp_path /tmp/nginx/client_body_temp; + proxy_set_header X-HOST $scheme://$http_host; proxy_set_header X-Real-Port $remote_port;