nginx-0.7.14

Maxim Dounin mdounin at mdounin.ru
Tue Sep 2 02:33:19 MSD 2008


Hello!

On Tue, Sep 02, 2008 at 08:07:57AM +1000, CryptWizard wrote:

>>    *) Feature: the "listen" directive supports the "ssl" parameter.
>
>How is it used? Is there an example available?

In russian it's here:
http://www.sysoev.ru/nginx/docs/http/ngx_http_core_module.html#listen

     server {
         listen  80;
         listen  443 ssl;

         ...
     }

It allows using the same server{} for http and https.

Maxim Dounin





More information about the nginx mailing list