vi nginx.conf 兼容php

location ~ \.php$ {

root/usr/local/nginx/html;

fastcgi_pass127.0.0.1:9000;

fastcgi_indexindex.php;

fastcgi_paramSCRIPT_FILENAME$document_root$fastcgi_script_name;

includefastcgi_params;

}

你可能感兴趣的:(vi nginx.conf 兼容php)