-
-
Notifications
You must be signed in to change notification settings - Fork 54
a simple reverse proxy
acgnhiki edited this page Feb 19, 2023
·
1 revision
用代理服务器实现一个简单的反代服务器,用于改变录制的直播流的 CDN 。
代码:https://gist.github.com/acgnhiki/21a8da348f3e6495d71baa466f06a913
PROXY = 'http://localhost:10809'
修改为自己的代理服务器
运行 uvicorn bili_api_reverse_proxy:app --host 0.0.0.0 --port 52233 --no-server-header --no-date-header
把 http://localhost:52233
添加到 直播流 API 主机地址
设置