Opened 12 years ago

Closed 12 years ago

#49 closed defect (invalid)

Cannot set configuration directory

Reported by: eXeC001er Owned by: somebody
Priority: minor Milestone:
Component: nginx-package Version: 1.0.x
Keywords: Cc:
uname -a:
nginx -V:

Description

when i run ./configure, then i get:
....
nginx configuration prefix: "/usr/local/nginx/conf"
nginx configuration file: "/usr/local/nginx/conf/nginx.conf"
....

when i run ./configure --conf-path=/etc/nginx
....
nginx configuration prefix: "/etc"
nginx configuration file: "/etc/nginx"
....

Change History (1)

comment:1 by Maxim Dounin, 12 years ago

Resolution: invalid
Status: newclosed

Configure option "--conf-path=" specifies full path to nginx configuration file, not a directory where it resides. I.e. you should use

./configure --conf-path=/etc/nginx/nginx.conf
Note: See TracTickets for help on using tickets.