Open youchen-0 opened 1 year ago
~真没想到那帮坚持ao3的人还有人知道github和cloudflare~
这代码我好像在哪见过,是github上另一个大佬的项目。麻烦各位提醒下
ao3现在的服务器还是最原始的单机流,而且根本不识别请求头中的host字段,而且网站内大多为相对路径
所以想建镜像站,只要在cloudflare dns里创建一条cname记录指向archiveofourown.org,并开启cdn即可,
你那个代码虽好,可不适合ao3。更适合一些比较复杂的网站
现在好像不行了,直接cname的话会被cloudflare防火墙提示跨域
~真没想到那帮坚持ao3的人还有人知道github和cloudflare~
ao3现在的服务器还是最原始的单机流,而且根本不识别请求头中的host字段,而且网站内大多为相对路径
所以想建镜像站,只要在cloudflare dns里创建一条cname记录指向archiveofourown.org,并开启cdn即可,