Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

关于新版 forwardproxy 插件 authentication modules 的变动 #202

Merged
merged 4 commits into from
Apr 2, 2024

Conversation

coma409
Copy link

@coma409 coma409 commented Mar 31, 2024

新版 forwardproxy 插件已弃用了以下字段:

"auth_user_deprecated": "user",
"auth_pass_deprecated": "pass",

新版 forwardproxy 插件需改为使用以下字段来设置 authentication 信息:

"auth_credentials": ["your_user:pass_base64"],

ps:仅修改了caddy.json文件,此次PR未对README.md文件进行任何修改

@lxhao61
Copy link
Owner

lxhao61 commented Apr 1, 2024

感谢 PR ,但还需要微调,以下为准:

//X、可以使用以下命令生成 user:pass 二次 base64 编码后的字符串
//$ echo -n "user:pass" | base64 | tr -d '\n' | base64
//Y、可以使用以下命令检验 user:pass 二次 base64 编码后的字符串是否正确
//$ echo -e "$(echo "your_user:pass_base64" | base64 --decode | base64 --decode)"

以上插入备注中最下边。X 与 Y 为数字序号,根据实际修改。

@coma409
Copy link
Author

coma409 commented Apr 1, 2024

已经按要求进行修改

@lxhao61
Copy link
Owner

lxhao61 commented Apr 1, 2024

已经按要求进行修改

Xray(M+B+D+G+A)+Caddy(N+T)/2_caddy.json 中有点错误:之前的修改没有删除。

@coma409
Copy link
Author

coma409 commented Apr 1, 2024

已修正

@lxhao61 lxhao61 merged commit c719d8e into lxhao61:main Apr 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants