On Wed, Jan 13, 2021 at 05:31:55PM -0500, rveerman wrote:
Hi there,
> possible to host more than 2 sites on the same IP and port, distinguishing
> between the sites only by means of the actual server name as it's entered
> into the browser..
You run a single instance of nginx with multiple server{} blocks with
the same "listen" directives but different "server_name" directives.
> specifically, i want to host example.com, v2.example.com, mail.example.com,
> and somesite.com on the same IP and port (443, ssl)..
See the somewhat old
http://nginx.org/en/docs/http/configuring_https_servers.html,
especially the "Server Name Indication" part at
http://nginx.org/en/docs/http/configuring_https_servers.html#sni
> i really hope this is possible with nginx.
Basically, it Just Works, if the client (browser) is any way adequate
for modern https.
Good luck with it,
f
--
Francis Daly francis@daoine.org
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx