Hi guys,

I am wish to run multiple site from the same IP and use different TLS certs for each.

Example:

server "example01.com" {

  listen on 1.2.3.4 port 80

  listen on 1.2.3.4 tls port 443

  tls {

    certificate "example01.com.fullchain.pem"

    key "example01.com.key"

  }

}

server "example02.com" {

  listen on 1.2.3.4 port 80

  listen on 1.2.3.4 tls port 443

  tls {

    certificate "example02.com.fullchain.pem"

    key "example02.com.key"

  }

}

Problem is I get the certificate for the first declared

server each time unless I change the IP or port.

Is it possible to have a configuration to serve different

servers on the same address and port with different

TLS certs?


Thanks in advance,

George





Reply via email to