Hi Guys,
I got an issue with Nginx. I would like to know can Nginx working with IIS binding Hostname in website?
My Lab environment
Nginx x1 , IIs x1
Nginx Config:ssl passthrough
stream {
map $ssl_preread_server_name $name {
site1.a.com web601.newdc.com:443;
site2.a.com web602.newdc.com:443;
}
server {
listen 443;
proxy_pass $name;
ssl_preread on;
}
}
IIS settings

Testing 1: Site1 not checked the SNI

Browser on Client to https://site1.a.com and got the result 404

Testing 2: Site2 checked the SNI

Browser on Client to https://site2.a.com and got the result

If you guys got any hints, please please please let me know. Thank you all.
Top comments (0)