From 2e63a7056c5ebfc22f906c6113eb07423031d2e5 Mon Sep 17 00:00:00 2001 From: phoenix <1797318+phoenixxie0@users.noreply.github.com> Date: Fri, 15 Oct 2021 10:40:58 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dnginx.conf=E9=94=99=E8=AF=AF?= =?UTF-8?q?=20(#776)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fix nginx: [emerg] unknown directive. Log `nginx: [emerg] unknown directive "client_body_buffer_size:" in /etc/nginx/nginx.conf:18 ` --- docker/nginx.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/nginx.conf b/docker/nginx.conf index 86f7c12b..4622afb5 100644 --- a/docker/nginx.conf +++ b/docker/nginx.conf @@ -15,7 +15,7 @@ http { server_tokens off; client_max_body_size 20m; - client_body_buffer_size: 20m; + client_body_buffer_size 20m; keepalive_timeout 65; @@ -42,4 +42,4 @@ http { access_log /var/log/nginx/access.log main; include /etc/nginx/conf.d/*.conf; -} \ No newline at end of file +}