Does anyone know the rewrite rule for nginx to configure a domain name to jump randomly?

does anyone know the rewrite rule for nginx to configure random redirects to a domain name?
is a parent domain name that is randomly distributed and redirected to one of several subdomains.

Mar.28,2022

Oh, are you talking about load balancing? Here is a piece of Nginx load balance that you can take a closer look at. It is roughly written as follows:

http {
    upstream myapp1 {
        server srv1.example.com;
        server srv2.example.com;
        server srv3.example.com;
    }

    server {
        listen 80;

        location / {
            proxy_pass http://myapp1;
        }
    }
}

I hope I can help you.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b388c5-2c103.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b388c5-2c103.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?