Hi ?,

I use something along the same sort of lines all on one IP Address to
different backend servers by doing the following:

User    "nobody"
#Group  "nobody"
LogLevel        2
Client  30
TimeOut 60
ListenHTTPS
        Address xxx.xxx.xxx.xxx
        Port 443
        xHTTP 3
        Cert "/usr/local/etc/server.pem"
        ReWriteLocation 1
        Ciphers "RC4:HIGH:!MD5:!aNULL"
        SSLHonorCipherOrder 1
        SSLAllowClientRenegotiation 0
        DisableSSLv2
        Service
                HeadRequire "Host: *support.*"
                BackEnd
                        Address 172.16.0.40
                        Port 80
                End
        End

        Service
                HeadRequire "Host: *customers.*"
                BackEnd
                        Address 172.16.0.20
                        Port 80
                End
        End

        Service
                HeadRequire "Host: *userpanel.*"
                BackEnd
                        Address 172.16.0.30
                        Port 80
                End
        End

        Service
                HeadRequire "Host: *support.dev.*"
                BackEnd
                        Address 172.16.0.10
                        Port 80
                End
        End
End

And this works like a charm.

Yours,
Scott



On 6 September 2012 15:34, KFCI Webmaster <[email protected]> wrote:

> Hi,****
>
> ** **
>
> Is it possible to use Pound to listen on one IP address for several
> subdomains using SSL?****
>
> ** **
>
> e.g.****
>
> ListenHTTPS****
>
>         Address xxx.xxx.xxx.xxx****
>
>         Port 443****
>
>         Cert "/etc/ssl/xxx.pem"****
>
>         Service****
>
>       HeadRequire "Host: .*www.domain.com.*"****
>
>                 BackEnd****
>
>                         Address xxx.xxx.xxx.xxx****
>
>                         Port 80****
>
>                         TimeOut 60****
>
>                 End****
>
>         End****
>
>         Service****
>
>       HeadRequire "Host: .*subdomain1.domain.com.*"****
>
>                 BackEnd****
>
>                         Address xxx.xxx.xxx.xxx****
>
>                         Port 80****
>
>                         TimeOut 60****
>
>                 End****
>
>         End****
>
> End****
>
> ** **
>
> Or something like this?****
>



-- 
With Kind Regards.

Scott McKeown
Loadbalancer.org
http://www.loadbalancer.org

Reply via email to