Skip to content

Commit d698a32

Browse files
author
wuyc
committed
add configure parameters: lock-path
1 parent 585f536 commit d698a32

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

How-To/从源码构建nginx.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@
1414
- **--pid-path=path**
1515

1616
设置存储主进程的进程 ID 的 nginx.pid 文件名称。安装后,可以在 `nginx.conf` 配置文件中使用 [pid](http://nginx.org/en/docs/ngx_core_module.html#pid) 指令更改文件名。默认文件名为 `prefix/logs/nginx.pid`
17+
- **--lock-path=path**
18+
19+
设置锁文件的名称前缀。安装后,可以在 `nginx.conf` 配置文件中使用 [lock_file](http://nginx.org/en/docs/ngx_core_module.html#lock_file) 指令更改对应的值。默认值为 `prefix/logs/nginx.lock`
1720
- **--error-log-path=path**
1821

1922
设置主要错误、警告和诊断文件的名称。安装后,可以在 `nginx.conf` 配置文件中使用 [error_log](http://nginx.org/en/docs/ngx_core_module.html#error_log) 指令更改文件名。默认情况下,文件名为 `prefix/logs/error.log`

0 commit comments

Comments
 (0)