Welcome! Log In Create A New Profile

Advanced

Re: nginx-0.7.52

April 22, 2009 08:09AM
Igor Sysoev Wrote:
-------------------------------------------------------
> On Wed, Apr 22, 2009 at 02:47:01AM -0400, diogin
> wrote:
>
> Currently - yes. Probabaly, in next versions I
> will remove prefix at all
> and nginx will get nginx.conf from the current
> directory.
>
> Right now you may set full path in nginx.conf and
> run nginx as
>
> nginx -c d:/nginx1/nginx.conf
>
> To control you need to set path to conf file,
> too:
>
> nginx -s reload -c d:/nginx1/nginx.conf

Hello Igor,

I just unzip the nginx-0.7.52.zip as D:/nginx1, and then change dir to D:/nginx1:

D:\nginx1>dir

2009-04-22 19:53 <DIR> .
2009-04-22 19:53 <DIR> ..
2009-04-20 10:28 <DIR> conf
2009-04-20 10:28 <DIR> contrib
2009-04-20 10:28 <DIR> docs
2009-04-20 10:28 <DIR> html
2009-04-20 10:28 <DIR> logs
2009-04-20 10:24 1,249,280 nginx.exe
2009-04-20 10:28 <DIR> temp

D:\nginx1>nginx -c D:/nginx1/conf/nginx.conf

D:\nginx1>

Nothing happens, nginx exits without any warning. I checked my system event log and found an error:

"D:\nginx1\nginx.exe: Could not open error log file: CreateFile() "c:/nginx/logs/error.log" failed"

So nginx uses the default path "c:/nginx" before it reads the paths from nginx.conf? Is there any chance that I can specify all the paths (i.e. temp, logs, etc) in the configuration file?
Thanks very much :-)
Subject Author Posted

nginx-0.7.52

Igor Sysoev April 20, 2009 02:33AM

Re: nginx-0.7.52

Kevin Worthington April 20, 2009 03:12AM

Re: nginx-0.7.52

Igor Sysoev April 20, 2009 03:24AM

Re: nginx-0.7.52

Kevin Worthington April 20, 2009 01:28PM

Re: nginx-0.7.52

Weibin Yao April 20, 2009 06:38AM

Re: nginx-0.7.52

Igor Sysoev April 20, 2009 07:13AM

Re: nginx-0.7.52

Igor Sysoev April 20, 2009 07:30AM

basic auth not prompting for id and pass

AMP Admin April 20, 2009 07:27PM

RE: nginx-0.7.52

郭振立 April 20, 2009 09:41AM

Re: nginx-0.7.52

Joaquin Cuenca Abela April 20, 2009 10:42AM

Re: nginx-0.7.52

Igor Sysoev April 20, 2009 01:02PM

Re: Re: Re: nginx-0.7.52

Weibin Yao April 21, 2009 04:57AM

Re: Re: nginx-0.7.52

Igor Sysoev April 21, 2009 04:18AM

Re: Re: nginx-0.7.52

Igor Sysoev April 21, 2009 04:06AM

Re: Re: Re: nginx-0.7.52

Igor Sysoev April 21, 2009 06:19AM

Re: Re: nginx-0.7.52

Weibin Yao April 21, 2009 03:51AM

Re: Re: Re: nginx-0.7.52

Weibin Yao April 21, 2009 05:43AM

Re: Re: Re: nginx-0.7.52

Istv April 21, 2009 05:52AM

Re: nginx-0.7.52

Anton Yuzhaninov April 21, 2009 06:12AM

Re: Re: nginx-0.7.52

Weibin Yao April 21, 2009 11:12PM

Re: Re: nginx-0.7.52

Weibin Yao April 22, 2009 12:01AM

Re: Re: nginx-0.7.52

Igor Sysoev April 22, 2009 02:20AM

Re: Re: nginx-0.7.52

Igor Sysoev April 22, 2009 03:38AM

Re: Re: Re: nginx-0.7.52

Igor Sysoev April 21, 2009 06:23AM

Re: Re: Re: nginx-0.7.52

Roger Pack April 21, 2009 10:52AM

Re: Re: Re: nginx-0.7.52

Igor Sysoev April 21, 2009 11:17AM

Re: Re: Re: nginx-0.7.52

Istv April 21, 2009 11:27AM

Re: Re: Re: nginx-0.7.52

Igor Sysoev April 21, 2009 04:00PM

Re: Re: Re: nginx-0.7.52

Roger Pack April 21, 2009 11:36AM

Re: Re: Re: nginx-0.7.52

Igor Sysoev April 21, 2009 03:54PM

Re: nginx-0.7.52

Chris Cortese April 20, 2009 06:20PM

Re: nginx-0.7.52

Igor Sysoev April 21, 2009 04:20PM

Re: nginx-0.7.52

Roger Pack April 21, 2009 05:35PM

Re: nginx-0.7.52

Chris Cortese April 21, 2009 07:34PM

Re: nginx-0.7.52

Igor Sysoev April 22, 2009 08:01AM

Re: nginx-0.7.52 all Windows native working

Chris Cortese April 22, 2009 03:21PM

Re: nginx-0.7.52 all Windows native working

Roger Pack April 23, 2009 09:38AM

Re: nginx-0.7.52

Chris Wan April 21, 2009 11:37PM

Re: nginx-0.7.52

Igor Sysoev April 22, 2009 08:45AM

Re: nginx-0.7.52

Chris Wan April 22, 2009 11:14PM

Re: nginx-0.7.52

diogin April 22, 2009 02:47AM

Re: nginx-0.7.52

Igor Sysoev April 22, 2009 03:02AM

Re: nginx-0.7.52

diogin April 22, 2009 08:09AM

Re: nginx-0.7.52

Igor Sysoev April 22, 2009 08:12AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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