我们有:
Ubuntu 16.04
nginx 1.10.3
我是nginx的新手,需要在proxy_pass到https时寻求帮助。
我们的客户在互联网上调用一个url,例如。
https://testapp.mobios.example.com
我想将这个流量传递到IP地址为192.168.0.10的服务器。 在这个服务器上,我启用了SSL并监听9443端口。
我们想要使用nginx作为反向代理。 我的nginx配置如下。
server {
listen 443;
servername testapp.mobios.example.com;
location / {
proxy_pass https://192.168.0.10:9443;
}
}
如果客户尝试使用https://testapp.mobios.example.com联系SSL服务器,他们将得到无响应的结果。
我的需求只是将https传递给https。这里SNI有问题吗?
有任何想法吗? 请帮帮忙 ayyoladi