浏览代码

更新 'payapi-nginx/nginx.conf'

chenghongxi 4 年之前
父节点
当前提交
32657f95a2
共有 1 个文件被更改,包括 4 次插入1 次删除
  1. 4 1
      payapi-nginx/nginx.conf

+ 4 - 1
payapi-nginx/nginx.conf

@@ -21,7 +21,10 @@ http {
                         '$status $body_bytes_sent "$http_referer" '
                         '"$http_user_agent" "$http_x_forwarded_for" '
                         '$upstream_addr $upstream_status $upstream_cache_status $upstream_response_time $request_time $host';
-
+                        
+    client_header_buffer_size 320k;
+    client_max_body_size 100m;
+    
     access_log           /var/log/nginx/access.log  main;
 
     sendfile             on;