mac(brew)

  1. 查找安装目录 /usr/local/bin/nginx
  2. 配置文件:/usr/local/etc/nginx
  3. 解析: /usr/local/var/www/index.html

centos(yum)

  1. 配置: /etc/nginx
  2. 解析:/usr/share/nginx/html
  1. /etc/nginx/default.d