Welcome! Log In Create A New Profile

Advanced

Re: 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?

July 14, 2009 04:33PM
That's the way I'll set it up.

I specify IP as well.


On Tue, Jul 14, 2009 at 4:25 PM, Michael Shadle wrote:

> ideally it would be listen 1.2.3.4:443 default ssl; right?
>
> otherwise this block will be the default ssl host for anything else
> unmatched.
>
> i typically use ip:443 in all my ssl stuff to ensure i am only going
> to serve up the cert on the proper sites anyway.
>
> On Tue, Jul 14, 2009 at 1:16 PM, Maxim Dounin wrote:
> > 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
> 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
> wrote:
> >> > >
> >> > >
> >> >
> >> >
> >
> >
>
>
Subject Author Posted

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?

iberkner July 14, 2009 02:14PM

Re: 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?

mike July 14, 2009 03:58PM

Re: 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?

iberkner July 14, 2009 04:06PM

Re: 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 July 14, 2009 04:16PM

Re: 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?

mike July 14, 2009 04:25PM

Re: 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?

iberkner July 14, 2009 04:33PM

Re: 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?

mike July 14, 2009 04:19PM

Re: 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?

iberkner July 14, 2009 04:24PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 149
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready