这是因为无法解析proxy_pass部分的域名,在nginx.conf配置文件中的http{}部分添加一行resolver 8.8.8.8; 标签: nginx no resolver defined to resolve xxx.xxx”