Re: host names in 1.9

2015-05-26 Thread Francis Daly
On Tue, May 26, 2015 at 06:47:19PM -0400, sentinel21 wrote: Hi there, > I'm having some difficulty using the stream directive in 1.9. I may be > using it wrong, so please correct me if this is incorrect or not possible. A connection comes to an ip:port. A http connection includes a specific h

host names in 1.9

2015-05-26 Thread sentinel21
I'm having some difficulty using the stream directive in 1.9. I may be using it wrong, so please correct me if this is incorrect or not possible. stream { server { listen 1520; server_name customhost.example.com proxy_pass db; } upstream db { server 1