Welcome! Log In Create A New Profile

Advanced

Re: Accessing binding nginx via Lua

Maxim Dounin
October 15, 2013 09:30AM
Hello!

On Tue, Oct 15, 2013 at 07:41:45AM -0400, itpp2012 wrote:

> Would it be possible (and how) to access the bindings inside nginx via Lua?
> for an experiment I'd like to change the listening port of a running nginx
> process.

I can't really speak of Lua, but given the nginx architecture it's
highly unlikely to be ever possible. Listen sockets are created
by master process and inherited by workers. In most cases,
workers just can't open listening sockets due to security
restrictions.

--
Maxim Dounin
http://nginx.org/en/donation.html

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

Accessing binding nginx via Lua

itpp2012 October 15, 2013 07:41AM

Re: Accessing binding nginx via Lua

Maxim Dounin October 15, 2013 09:30AM

Re: Accessing binding nginx via Lua

itpp2012 October 15, 2013 10:11AM

Re: Accessing binding nginx via Lua

Maxim Dounin October 15, 2013 10:40AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 274
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