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

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截图
见描述过程
环境信息
附加信息
Beta Was this translation helpful? Give feedback.
All reactions