The nginx configuration file does not have relevant rewrite jump rules, so it should be the PHP of mediawikiProgramHowever, after traversing all the files in the mediawiki directory and querying every table in the MySQL database, no such domain name is found. Later, you can viewSource codeMediawiki jumps based on $ _ server ['server _ name'] and finds the following problems:
In an nginx virtual host, you can bind multiple SERVER_NAME, for example:
The order of SERVER_NAME is different. It may affect the use of $ _ server ["SERVER_NAME"] Or getenv ('server _ name') in PHP programs to obtain server domain names:
$ _ Server ["SERVER_NAME"] Or getenv ('server _ name') always gets the first domain name in the nginx SERVER_NAME configuration, which requires attention during program development. The first domain name is equivalent to servername in the Apache Virtual Host Configuration, and the domain name is equivalent to Apache serveralias.