Closed lengdong863 closed 1 year ago
请你在修改 /etc/nginx/apps/filebrowser.conf
以解除限制,这是因为你的文件尺寸超过了全局默认值。
location /filebrowser {
return 301 /filebrowser/;
}
location /filebrowser/ {
client_max_body_size 0;
auth_basic "Password Required";
auth_basic_user_file /etc/htpasswd.d/htpasswd.$remote_user;
rewrite ^/filebrowser/(.*) /$1 break;
proxy_pass http://$remote_user.filebrowser;
}
随后运行 nginx -s reload
nginx: [warn] "ssl_stapling" ignored, issuer certificate not found for certificate "/etc/ssl/certs/ssl-cert-snakeoil.pem"
这应该怎么办啊?
这只是警告,默认使用自签证书就会有,不影响使用。安装 lecert 或者正常的证书就可以解除。
我这边查看了/etc/nginx/apps/filebrowser.conf,这个文件,已经修改成功了。但是还是会有同样的提示。 我先用Xftp 7替代吧。
FBE和File Browser都不能上文件 报错都一样。 系统版本信息:ubuntu-22.04 64bit QuickBox V1.5.6