Alist 安装成功! 访问地址:http://YOUR_IP:5244/ 配置文件路径:/opt/alist/data/config.json ---------如何获取密码?-------- 先cd到alist所在目录: cd /opt/alist 随机设置新密码: ./alist admin random 或者手动设置新密码: ./alist admin set NEW_PASSWORD ---------------------------- 启动服务中 查看状态:systemctl status alist 启动服务:systemctl start alist 重启服务:systemctl restart alist 停止服务:systemctl stop alist 温馨提示:如果端口无法正常访问,请检查 服务器安全组、本机防火墙、Alist状态
反向代理
location /alist/ { proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme; proxy_set_header Host $http_host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header Range $http_range; proxy_set_header If-Range $http_if_range; proxy_redirect off; proxy_pass http://127.0.0.1:5244/alist/; # the max size of file to upload client_max_body_size 20000m; }
参考文档:
添加评论