Welcome! Log In Create A New Profile

Advanced

Why can we use listen directive on http context?

Aryanto Rachmad
December 13, 2010 12:22PM
Hello Everybody,

I have been using lighttpd for about 4 years, and now I would like to
explore the capability of nginx. It does not mean that I don't like
lighttpd any more though :)

As I mentioned on the subject, why can we use listen directive on http
context?

If we have multiple virtual hosts on a single physical server and we
would like to bind nginx to a single IP address, it seems to me that we
have to put multiple listen directive on every server contexts. Is there
any relation to the fact that nginx can only limit the transmission rate
per connection, instead of IP link?

I am confused because we can set the limit_rate within http context, why
can we do that to the listen directive?

Thanks in advance.

Kind regards,

Anto


_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

Why can we use listen directive on http context?

Aryanto Rachmad December 13, 2010 12:22PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 129
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready