Groups
Groups
Sign in
Groups
Groups
openresty-en
Conversations
Labels
About
Send feedback
Help
Nginx SNI proxy_ssl_name invalid hostname
56 views
Skip to first unread message
shopb...@gmail.com
unread,
Jul 12, 2018, 3:45:55 AM
7/12/18
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to openresty-en
Server {
....
server_name
www.domain1.com
;
....
location /{
proxy_ssl_server_name on; proxy_ssl_verify off; proxy_ssl_name
www.domain1.com
;
proxy_pass
https://backend1
;
}
}
Server {
....
server_name
www.domain2.com
;
....
location /{
proxy_ssl_server_name on; proxy_ssl_verify off; proxy_ssl_name
www.domain2.com
;
proxy_pass
https://backend1
;
}
}
Above domains
www.domain1.com
,
www.domain2.com
.
if access those two domains
www.domain1.com
,
www.domain2.com
together, Then proxy server will received 400 invalid hostname error.
if access single domain only, for example, open this domain
www.domain1.com
and keep refresh, won't get this 400 error. when open domains at the same time, then will received the error.
Upstream server is IIS server.
Who knows why?
Thank you. My email address:
shopb...@gmail.com
Reply all
Reply to author
Forward
0 new messages