M
M
mrpsycho2013-04-19 16:54:48
linux
mrpsycho, 2013-04-19 16:54:48

Gateway with built-in nginx? or any other server that can https with SNI?

Comrades,

what gateways do you know that can work with https and SNI out of the box?

The task is simple:
you need support out of the box. So that you can configure several https virtual servers on 1 IP address.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
G
grossws, 2013-04-19
@mrpsycho

You can use nginx with two server sections, each with its own server_name:

server {
  listen 443 ssl;
  server_name server1.example.com;

  ssl_certificate server1.crt;
  ssl_certificate_key server1.key;

  listen / {
    proxy_pass http://...;
  }
}

server {
  listen 443 ssl;
  server_name server2.example.com;

  ssl_certificate server2.crt;
  ssl_certificate_key server2.key;

  listen / {
    proxy_pass http://...;
  }
}

SNI works out of the box.

P
Puma Thailand, 2013-04-19
@opium

It seems to me that the gateway does not care, it can do a tcp port redirect.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question