Thanks a lot for the clarification guys! :)
On Wed, Dec 2, 2015 at 7:46 PM, itpp2012 wrote:
> Richard Stanway Wrote:
> ---
> > TCP has no concept of server names, so this is not possible. It only
> > works
> > in HTTP because the client sends
Richard Stanway Wrote:
---
> TCP has no concept of server names, so this is not possible. It only
> works
> in HTTP because the client sends the hostname it is trying to access
> as
To put into better wording,
The 'hostname' technique has 2 parts
t it
> works with http server blocks.
>
> However I get the following error regarding the server_name:
>
> *"server_name" directive is not allowed here in /etc/nginx/nginx.conf*
>
> So who knows how I can simulate server_name within tcp server blocks?
>
>
_name" directive is not allowed here in /etc/nginx/nginx.conf*
So who knows how I can simulate server_name within tcp server blocks?
Thanks!
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx