Tutorial 2x Registration Country Ban via Cloudflare - Cấm đăng ký theo quốc gia bằng Cloudflare cho XenForo 2

PVS

Generalissimo
Thành viên BQT
Registration Country Ban via Cloudflare - Cấm đăng ký theo quốc gia bằng Cloudflare cho XenForo 2

Truy cập: https://dash.cloudflare.com/

Vào tên miền XenForo của bạn > Firewall Menu > Firewall Rules > Create a Firewall rule

Và làm theo các mục như sau:

Rule name: Registration Country Ban
Expression Preview > Edit expression
Modify the country codes/domain:
Mã:
ip.geoip.country in {"BD" "BR" "CN" "KP" "KR" "PK" "RU" "UA" "VN" "TH" "IR" "BG" "DE"} and http.request.full_uri contains "https://domain.com/register/"

Then…: Block
Nhấn vào Deploy là xong.

1567686541275.png

Chúc các bạn thành công.


Nguồn: xenforo.com​
 
Người đăng Chủ đề tương tự Diễn đàn Trả lời Ngày đăng
PVS Tips and Guides 0

Hướng dẫn sử dụng

XenForo 1 XenForo 2
Translate by PVS

Hỗ trợ trực tuyến

Support Quảng cáo
Mr. San (PVS)

Skype chat, instant message

Mr. Tuấn (Blue)

Skype chat, instant message

Mr. Tuấn
0988 488 096
Mr. Trọng
0906 081 284
kinhdoanh@vnxf.vn

Nhà Tài Trợ

Mút Xốp Không Gian
pallet Thịnh Phát
Điện Lạnh Thịnh Phát
Top