Update README

This commit is contained in:
LoveesYe 2022-07-26 22:42:23 +02:00 committed by GitHub
parent 31c4118e28
commit 7ffb9d136c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,3 +3,7 @@
cdnfly通过改hosts破解授权方法
首先用以下源码搭建一个站点绑定域名auth.cdnfly.cn、monitor.cdnfly.cn注意需要配置伪静态
然后在需要搭建主控的节点上修改hosts将 auth.cdnfly.cn、monitor.cdnfly.cn 这2个域名指向刚才的服务器IP
wget http://auth.cdnfly.cn/cdnfly/api.py -O /opt/venv/lib/python2.7/site-packages/requests/api.py
supervisorctl -c /opt/cdnfly/master/conf/supervisord.conf reload