PicUploader图床工具
https://github.com/xiebruce/PicUploader
nginx配置:
root /data/www/img.my.com;
location / {
auth_basic "auth user?";#认证界面命名信息
auth_basic_user_file auth/mycom;
autoindex on;
index dashboard.php;
try_files $uri $uri/ index.php$is_args$args;
}
修改config/config.php即可