问题描述: 执行nginx -s reload, 提示 `duplicate location /` 问题原因: 是因为location / 有两个,匹配重复了 解决方案: 把其中一个location / 注释掉,即可