Welcome! Log In Create A New Profile

Advanced

Re: Socket address relative to prefix

January 14, 2013 06:33PM
I know this as posted ages ago however its the number 1 post in google and has no answer.

NGINX uses a path relative to where it was started from when it comes to reading sockets at least. I am unsure if this affects additional functionality.

At first I thought it was reading from the compile prefix but this doesnt seem to be the case and I also dont see any documentation on this.

Here is an example.

Starting NGINX manually from the NGINX folder
cd ~/nginx; sbin/nginx

Now all SOCKET paths are relative to ~/nginx

However;
cd ~; nginx/sbin/nginx

SOCKET paths are now relative to ~

Just figured I would help document.
SubjectAuthorPosted

Socket address relative to prefix

Rad3kOctober 31, 2010 02:20PM

Re: Socket address relative to prefix

NullivexJanuary 14, 2013 06:33PM

Re: Socket address relative to prefix

Rad3kJanuary 15, 2013 01:31PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 81
Record Number of Users: 7 on March 06, 2014
Record Number of Guests: 229 on August 01, 2014
Powered by nginx    Powered by FreeBSD    PHP Powered    Powered by Percona     ipv6 ready