AList初体验
背景
初体验
安装
下载
wget https://github.com/alist-org/alist/releases/download/v3.6.0/alist-linux-amd64.tar.gz
运行
./alist
./alist start
使用
打开
http://localhost:5244
设置路径
管理 -> 存储 -> 添加
进阶
反向代理
location / {
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;
# the max size of file to upload
client_max_body_size 20000m;
}