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即可

发表回复

您的电子邮箱地址不会被公开。 必填项已用*标注

Captcha Code