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
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”
I will change this behavior in near future: nginx will try to write to
stderr
before fallback to event log.
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?
Very minor detail/request from Windows people: I’m not very
knowledgeable with MS-DOS Batch files. Can someone tell me how to run
“start nginx” from within a .bat? I’m just running it separately from a
cmd prompt now, which works, just one extra step.
It should be the same way as from a command prompt. [?]
On another note to the folks maintaining the nginx site and docs, I’m
sure it would be very helpful to M$ people if you took the information
from the following link, updated it so that it relates to the current
Windows native binary (and strip the Wordpress-specific stuff), and took
this information to the nginx site.
There is a wiki you may be able to add a page there
Thanks for the info!