setting up ssl ... can the same server section listen on both ports 80 and 443 or do I need to setup a separate server section?

Maxim Dounin mdounin at mdounin.ru
Wed Jul 15 00:16:44 MSD 2009


Hello!

On Tue, Jul 14, 2009 at 04:06:57PM -0400, Ilan Berkner wrote:

> If you can point it out to me... I searched, can't find it.

http://wiki.nginx.org/NginxHttpCoreModule#listen

server {
    listen 80;
    listen 443 default ssl;

    ...
}

Maxim Dounin


> 
> On Tue, Jul 14, 2009 at 3:58 PM, Michael Shadle <mike503 at gmail.com> wrote:
> 
> > someone just posted a config example in the past couple days about this
> >
> > On Tue, Jul 14, 2009 at 11:14 AM, Ilan Berkner<iberkner at gmail.com> wrote:
> > >
> > >
> >
> >





More information about the nginx mailing list