Tout le fichier est en désordre, que se passe-t-il ? utorialWWWzt";
location / {
? ? ? ? root? ?"? ? ? ? ? ? fastcgi_param? PATH_INFO? $fastcgi_path_inf";
? ? ? ? location / {
? ? ? ? ? ? index? index.html index.htm index.php;
? ? ? ? ? ? #autoindex? sur;
? ? ? ? }
? ? ? ? emplacement ~ .php(.*)$ {
fastcgi_pass? ?127.0.0.1:9000;
? ? ? ? ? ? fastcgi_index? index.php;
? ? ? ? ? ? fastcgi_split_path_info? ^((?U).+.php)(/?.+)$;
? ? ? ? ? ? fastcgi_par suis? SCRIPT_FILENAME? $document_root$fastcgi_script_name;
? ? ? ? ? ? fastcgi_param? PATH_INFO? $ fastcgi_path_info;
? ? ? ? ? ? fastcgi_param? PATH_TRANSLATED? $document_root$fastcgi_path_info;
? ? ? ? ? ? include? ? ? ? fastcgi_params;
? ? ? ? }
}
serveur {
? ? ? ?écouter? ? ? ?fastcgi_split_path_info? ^((?U).+.php)(/?.+)$;
? ? ? ? nom_serveur? fastcgi_param? SCRIPT_FILENAME? $document_root$fastcgi_script_name;
? ? ? ? root? ?"? ? ? ? ? ? fastcgi_param? PATH_INFO? $fastcgi_path_inf";
? ? ? ? location / {
? ? ? ? ? ? index? index.html index.htm index.php;
? ? ? ? ? ? #autoindex? sur;
? ? ? ? }
? ? ? ? emplacement ~ .php(.*)$ {
? ? ? ? ? ? fastcgi_pass? ?127.0.0.1:9000;
? ? ? ? ? ? fastcgi_index? index.php;
? ? ? ? ? ? fastcgi_split_path_info? ^((?U).+.php)(/?. +)$;
? ? ? ? ? ? fastcgi_param? SCRIPT_FILENAME $document_root$fastcgi_script_name;
? ? ? ? ? ? fastcgi_param? PATH_INFO? $fastcgi_path_info;
? ? ? ? ? ? fastcgi_param? PATH_TRANSLATED? $document_root$fastcgi_path_info;
? ? ? ? ? ? include?? ? fastcgi_params;
? ? ? ? }
}
Si vous redémarrez votre ordinateur, rien ne sera écrit dans le fichier vhost. Lorsque vous ouvrez phpstudy, le logiciel lira et identifiera d'abord le contenu du fichier vhsot et le lira dans un format fixe. Si vous souhaitez le personnaliser, veuillez le personnaliser. ne l'utilisez pas. Utilisez un logiciel pour configurer le contenu du vhost, car le logiciel est une configuration insensée de noms de domaine virtuels en un seul clic?!