According to the geoip module of nginx, it is judged whether it is the mainland or overseas
For example: visit www.xxx.com
Idea 1: Redirect to a different domain name
If it is in mainland China, redirect directly to cn.xxx.com; otherwise redirect to en.xxx.com
Idea 2: load balancing to different ip
If geoip judges that the country where it is located is cn, it will jump to 172.xx.xx.xx (assumed to be the IP of the server in mainland China); otherwise, it will jump to 8.xx.xx.xx overseas (assumed to be deployed overseas server's ip)
Nginx geoip module realizes regional load balancing - Weixin_33943347's Blog - CSDN Blog