nginx proxy based on host when using https

后端 未结 3 909
星月不相逢
星月不相逢 2021-01-30 09:31

I need to use Nginx as an SSL proxy, which forwards traffic to different back ends depending on the subdomain.

I have seem everywhere that I should define multiple \"ser

3条回答
  •  傲寒
    傲寒 (楼主)
    2021-01-30 10:31

    according to http://www.informit.com/articles/article.aspx?p=1994795, you should indeed have two "server" sections, with two different server names. In each one, you should include your ssl_* directives.

提交回复
热议问题