cdn节点自定义防CC代码在哪里抄

Posted cdn和dns文档

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了cdn节点自定义防CC代码在哪里抄相关的知识,希望对你有一定的参考价值。

1. 登陆节点的3311后台

 

1. http redirect(普通)

HTTP/1.1 302 FOUND
Connection: keep-alive
Location: {{url}}

<html><body><a href="{{url}}">continue</a></body></html>

2. html redirect

HTTP/1.1 200 OK
Content-Type: text/html; charset=utf-8
Connection: keep-alive
Cache-Control: no-cache,no-store

<html><head><meta http-equiv="refresh" content="0;url={{url}}"></head><body><a href="{{url}}">continue</a></body></html>

3. js plain

HTTP/1.1 200 OK
Content-Type: text/html; charset=utf-8
Connection: keep-alive
Cache-Control: no-cache,no-store

<html><body><script language="javascript">window.location="{{url}}";</script><a href="{{url}}">continue</a></body></html>

4. js concat

HTTP/1.1 200 OK
Content-Type: text/html; charset=utf-8
Connection: keep-alive
Cache-Control: no-cache,no-store

<html><body><script language="javascript">window.location="{{murl}}";</script></body></html>

5. js revert(复杂)

HTTP/1.1 200 OK
Content-Type: text/html; charset=utf-8
Connection: keep-alive
Cache-Control: no-cache,no-store

<html><body><script language="javascript">{{revert:url}};window.location=url;</script></body></html>

6. html manual

HTTP/1.1 200 OK
Content-Type: text/html; charset=utf-8
Connection: keep-alive
Cache-Control: no-cache,no-store

<html><body><a href="{{url}}">continue</a></body></html>

7. deny

HTTP/1.1 200 OK
Content-Type: text/html; charset=utf-8
Connection: keep-alive
Cache-Control: no-cache,no-store

<html><body>try again later</body></html>

 

以上是关于cdn节点自定义防CC代码在哪里抄的主要内容,如果未能解决你的问题,请参考以下文章

使用Nginx+Lua实现自定义WAF

CDN和高防IP有什么区别?

CDN防DDoS攻击

ddos cdn

什么是内容分发网络

如何在自定义 CDN 服务器上静态部署 python ***包?