nginx服务器配置隐藏index.php入口文件

location / {
	if (!-e $request_filename){
		rewrite  ^(.*)$  /index.php?s=$1  last;   break;
	}
}

你可能感兴趣的:(php环境搭建,php)