server_name for https

Igor Sysoev igor at sysoev.ru
Wed May 11 14:07:20 MSD 2011


On Mon, May 09, 2011 at 02:18:09PM +0800, Jeff Pang wrote:
> Hello,
> 
> Since HTTPS doesn't support vhost, shall we have the need to put the
> server_name command in the server section? for example,
> 
>          server {
>                 listen       443;
>                 server_name  xxx.example.com;
>                 ....
>          }
> 
> Thanks.

server should always have a name. Or it will be "" by default.


-- 
Igor Sysoev



More information about the nginx mailing list