klzgrad / naiveproxy

Make a fortune quietly
BSD 3-Clause "New" or "Revised" License
6.31k stars 868 forks source link

新版的forwardproxy的caddy配置文件和老版的不兼容,通过脚本更新服务就挂掉了(forwardproxy没地方发,就发这来了) #626

Closed kennykong closed 3 months ago

kennykong commented 3 months ago

报错: loading new config: loading http app module: provision http: server srv0: setting up route handlers: route 0: loading handler modules: position 0: loading module 'subroute': provision http.handlers.subroute: setting up subroutes: route 0: loading handler modules: position 0: loading module 'forward_proxy': decoding module config: http.handlers.forward_proxy: json: unknown field "auth_pass_deprecated"

很多人用的是这个脚本: https://github.com/imajeason/nas_tools/blob/main/NaiveProxy/naive.sh

kennykong commented 3 months ago

就是forwardproxy(v2.7.6-naive)这一版,之前都好的

klzgrad commented 3 months ago

auth_pass_deprecated

已经预告了deprecated,没有义务要兼容

jiaczh commented 2 months ago

@klzgrad 问下 那这个参数要改成什么样的呢? 搜了下没搜到。。。 谢谢

zedifen commented 2 months ago

I think rather than "finding an alternative/solution for a deprecation", it would be better and easier to find out about things' that are currently available and figure out what to do with them.