1

It baffles me, that most HTTP apps still can't run on multiple domains at a time.
Is it actually that difficult to have a request header, which is set by the reverse proxy, containing the prefix url?!

Comments
  • 2
    @molaram With SNI the hostname is sent in clear to the load balancer / reverse proxy / server, as it determines which certificate the LB/server uses.
    With TLS 1.3 this will change a bit, but in the end the requested hostname can be acquired by an LB before having a complete encryption.

    Anyway, the HTTPS connection is commonly terminated by a load balancer so it has access to both the SNI and the host header.
    While the load balancer can also use the aforementioned SNI data to connect to the correct application / server without the need to decrypt anything, this is used a little bit less.

    As an example, nginx can be configured for both cases.
  • 0
    @molaram it was made, because ipv4 addresses were starting to run low. The prices were also getting higher.
  • 0
    Caddy can handle https with multiple domains, idk the protocol technicalities I'm a typical Caddy user.
  • 0
    @homo-lorens
    Wow, a web server can handle multiple domains.
    What a fucking surprise.
    I'm flattered.
    I cant be be myself shit, if the apps it proxies don't support it.

    Seriously though, I'm talking about Cloud Storage, chat Apps, whatthefuckever.
Add Comment