1. 程式人生 > >cdn節點自定義防CC代碼在哪裏抄

cdn節點自定義防CC代碼在哪裏抄

url ron .com image html http 在哪裏 ima cat

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代碼在哪裏抄