we have:
Ubuntu 16.04
nginx 1.10.3
i am new to nginx and need help on proxy_pass to https.
We have clients in internet they call a url for example.
https://testapp.mobios.example.com
i want to pass this traffic to my server with the ip address 192.168.0.10. On this server i have ssl enabled listen port 9443.
We want use nginx as reverse_proxy. My nginx config looks like.
server {
listen 443;
servername testapp.mobios.example.com;
location / {
proxy_pass https://192.168.0.10:9443;
}
}
If the clients try to contact the ssl server with https://testapp.mobios.example.com they get nothing.
What i need is just pass https to https. Is SNI a problem here?
Any idea? Please help ayyoladi