参考:https://www.jianshu.com/p/999ac06e3934
https://blog.csdn.net/liuxiao723846/article/details/127749786
需求是从内网访问nginx,再反向代理到外网一个https网站azfj.sonli.cn
在nginx的http模块配置了server, listen,location,proxy_pass
访问代理时始终报错502bad gateway
最终请教资深老师加了参数proxy_ssl_server_name on解决