@ -64,7 +64,7 @@ $configs = array(
'captcha' => true, //后台登陆是否开启验证码
'maxUploadFileNumber' => 5, //一次批量上传文件数量
'maxUploadFileSize' => 20, //单位:Mb
'maxUploadFileSize' => 10, //单位:Mb
'allowedUploadFileTypes' => array(
'image/jpeg',
'image/png',
@ -23,6 +23,8 @@ http {
keepalive_timeout 65;
types_hash_max_size 4096;
client_max_body_size 10m;
include /etc/nginx/mime.types;
default_type application/octet-stream;
@ -6,6 +6,8 @@ server {
#charset UTF-8;
#access_log logs/machete.access.log main;
root /var/www/machete/www;
index index.php index.html;