Why can't I use the "ssl" modified on more than one listen statement?

portante nginx-forum at nginx.us
Tue Sep 21 21:44:28 MSD 2010


Sorry, I meant to include my updated configuration example:

[code]
ssl_certificate      common.crt;
ssl_certificate_key  common.key;
 
server {
  listen           80;
  server_name      www.nginx.org;
  ...
}
 
server {
  listen           443 ssl;
  server_name      secure.nginx.org;
  ...
}
 
server {
  listen           80;
  server_name      images.nginx.org;
  include images.location;
}
 
server {
  listen           443 ssl;
  server_name      images.nginx.org;
  include images.location;
}
[/code]

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,132621,132674#msg-132674




More information about the nginx mailing list