1.nginx -h 查看默认安装路径
nginx -p /usr/local/nginx
2.nginx -t 查看默认配置文件
-V 显示 nginx 的版本,编译器版本和配置参数。
3.netstat -tlnp 查看端口号