Comments (15)
nginx反代配置有问题。
from alist-tvbox.
可以加一个跳转
server {
if ($host = xxx.com) {
return 301 https://$host$request_uri;
} # managed by Certbot
server_name xxx.com;
listen 80;
return 404; # managed by Certbot
}
from alist-tvbox.
我这种通过cf反代的只支持https的没法这么改,不过这个问题通过脚本处理下生成个json文件倒可以解决
另外有个必须改代码的问题是这个返回豆瓣数据的cgi, 返回数据里面应该是https,现在都是http
from alist-tvbox.
那需要加一个配置项,开启https
from alist-tvbox.
用这个配置的前提是服务器能正常用80和443,域名后面不用加端口号。而我这是普通家用宽带,开不了80和443,所以域名后面加了 :8888
。
我用的不是nginx而是caddy,nginx不知道但是caddy无法在一个端口上同时提供http和https服务。
是不是等待大佬的下一版本就好了呢?
from alist-tvbox.
新版本,在设置页面 -> 高级设置里面开启HTTPS。
wget https://d.har01d.cn/update_xiaoya.sh -O update_xiaoya.sh && sh ./update_xiaoya.sh -t native
from alist-tvbox.
docker repo上的镜像不对吧, 对比了下docker repo里面和本地的镜像,是一致的, 但是那个配置页面一直提示有新版本,也确实看不到你说的这个配置
对了,我是portainer里面装的,没用脚本,按理来说也不影响,看了一键脚本,也没看到会去非docker的repo去拉镜像。
顺便提个建议,外网访问如果只用一个域名的话,nginx需要配置很多路径的转发(sub/repo/token/image.....) ,因为后端是4567/5244这两个端口,最好4567上面统一处理下,前端nginx只转发到4567, 你这里把/dav和/的转发到xiaoya的端口去。
from alist-tvbox.
新版本,在设置页面 -> 高级设置里面开启HTTPS。
wget https://d.har01d.cn/update_xiaoya.sh -O update_xiaoya.sh && sh ./update_xiaoya.sh -t native
这个 -t native
版本运行不了,报错信息:
/lib/ld-musl-x86_64.so.1: atv: Not a valid dynamic program
The current machine does not support all of the following CPU features that are required by the image: [CX8, CMOV, FXSR, MMX, SSE, SSE2, SSE3, SSSE3, SSE4_1, SSE4_2, POPCNT, LZCNT, AVX, AVX2, BMI1, BMI2, FMA].
Please rebuild the executable with an appropriate setting of the -march option.2023-08-01T09:44:53.610610533Z replace token? [y]es, [n]o, [A]ll, [N]one, [r]ename: NULL
(EOF or read error, treating as "[N]one" ...)
这几行信息循环了好多次。
换回来 -t latest
就正常了。
另外我认真阅读了大佬你的文档,发现了定制json替换功能:
{
"replace": {
"http://我的域名:8888/spring.jar": "https://我的域名:8888/spring.jar"
},
"sites-blacklist": ["说明1","说明2", "说明3","说明4","公告", "ext_live_protocol", "cc"],
"sites": [
]
}
但是似乎 replace
对jar字段不生效?如果能让它生效,也就解决问题了,而且还能同时兼容内网 http://192.168.1.x:4567
和外网 https://域名:8888
访问。
from alist-tvbox.
native只支持Linux平台,不支持arm平台
from alist-tvbox.
我的不是arm,是win11+docker,x64 [捂脸]
from alist-tvbox.
win也需要装Linux虚拟机
from alist-tvbox.
-t native
死活搞不起来,我还是等待 latest 吧,不着急。
或者大佬可以先让定制json替换 replace
功能支持jar字段吗?
from alist-tvbox.
试试dev版本
from alist-tvbox.
dev版本成功了,感谢大佬。
from alist-tvbox.
已经合并到latest
from alist-tvbox.
Related Issues (20)
- 玩客云 oneclould 不适配 docker: no matching manifest for linux/arm/v7 in the manifest list entries. HOT 1
- 订阅链接外网访问时,代理端口丢失 HOT 1
- 能不能提供一个mysql 的数据库文件
- cn.har01d.alist_tvbox.service.IndexService.getRemoteVersion()" is null 报错 HOT 1
- [BUG] 使用https后小雅的网页嵌入不能显示 HOT 2
- 管理界面4567端口怎么都打不开 HOT 1
- 在阿里云盘的视频缓存会出现2个重复的文件,这是什么问题呢,页面也是之开了一个。 HOT 1
- 多仓订阅,默认数据语法错误
- git项目后用项目内的dockerfile创建镜像提示缺少target/atv目录文件,请问怎么解决? HOT 4
- 更新时下载速度慢怎么解决
- Youtube 是否支持更高的分辨率 HOT 3
- 请教大佬:如何使用豆瓣进行批量刮削? HOT 1
- 是否可以支持下阅读3.0的规则
- 哔哩哔哩登录失效了,报错I/O error on GET request for "https://api.bilibili.com/x/web-interface/nav": api.bilibili.com: Name does not resolve HOT 2
- 点击高级模式中【资源】标签,报错,账号里面添加的阿里账号不能自动签到 HOT 3
- 猫影视node配置接口内token不会替换 HOT 1
- 能否给小雅集成版增加管理界面? HOT 3
- 夸克分享无法挂载 HOT 1
- pikpak网盘无法挂载 阿里云盘无法自动领取只能签到望大佬修复 感谢 HOT 3
- alist挂在本地磁盘 HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from alist-tvbox.