Repository navigation
shell 脚本嵌套加速 在http服务器 脚本内容替换为了https #171
crazypeace
started this conversation in
General
Replies: 8 comments 1 reply
|
我不理解. 为什么替换时要替换为 https? |
0 replies
|
判断经过多层转手后, 无法确认原始proto, 更何况不少cdn也有http回源模式, 用户自行流转代理中间盒行为更加不明 |
0 replies
|
proto 和 host都是通过header获取的, 如果改为配置文件定义倒是可以解决这个问题 |
0 replies
|
你的意思是, 担心数据传输过程中被人 篡改 ? |
1 reply
0 replies
不是数据安全性问题, 而是想确认用户使用的是http还是https这件事本身就很麻烦且不确定性很大 |
0 replies
|
好吧. 可能你这个项目功能多, 考虑的因素多. 我的目的本身只是解决一下访问github.com拉脚本和资源的问题. 那么, 我推一下这个ghproxy方案吧, |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
问题描述
shell 脚本嵌套加速 在http服务器 脚本内容替换为了https
复现步骤
修改配置文件为打开 脚本嵌套加速
用这样的命令启动服务
github.com 不能直接访问
用这样的方法使用 ghproxy
结果
脚本内容被替换为
https://ghproxy环境的IP:7210/xxxxxxxxxx预期行为
脚本内容应该被替换为
http://ghproxy环境的IP:7210/xxxxxxxxxx实际行为
脚本内容被替换为
https://ghproxy环境的IP:7210/xxxxxxxxxx截图
见描述过程
环境信息
附加信息
All reactions