在ningix的vhost里配置 location / { try_files $uri $uri/ /index.php?$query_string; } try_files的命令解释 nginx配置选项try_files详解