I have seen nginx.conf for linux systems and they start with a / which
means
its an absolute path.
For windows, is it absolute or relative.
same goes for the root directive is it absolute path or relative path
On Tue, Sep 15, 2009 at 10:27:27PM +0500, Ziyad S. wrote:
I have seen nginx.conf for linux systems and they start with a / which means
its an absolute path.
For windows, is it absolute or relative.
same goes for the root directive is it absolute path or relative path
In nginx/Windows
*) “c:/…” is absolute path,
*) “/…” is path relative path to drive where nginx was started,
*) anything else is path relative to directory where nginx was started.
so Igor should i use relative or absolute path for script_filename and
root
2009/9/16 Igor S. [email protected]
On Thu, Sep 17, 2009 at 02:59:19AM +0500, Ziyad S. wrote:
so Igor should i use relative or absolute path for script_filename and root
This is depends on your needs.
BTW, $script_filename is used in path for FastCGI process and
- it may be native Win32 binary,
- it may be Cygwin binary using own pathes,
- it may be even on another host, and the host may be Unix one.
In nginx/Windows
*) “c:/…” is absolute path,
*) “/…” is path relative path to drive where nginx was started,
*) anything else is path relative to directory where nginx was started.
A correction: path relative to
- drive or directory set in the “-p” switch,
- drive or directory where nginx was started.