Browse Source

更新 'payapi-nginx/nginx.conf'

chenghongxi 4 years ago
parent
commit
32657f95a2
1 changed files with 4 additions and 1 deletions
  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;