659441806 发表于 2018-11-14 08:13:57

编译安装Nginx-Tab

--prefix=PATH                  set installation prefix      # 设置安装目录路径  
--conf-path=PATH               set nginx.conf pathname      # 设置配置文件路径名
  
--user=USER                      set non-privileged user for    # nginx进程的用户权限
  
--group=GROUP                  set non-privileged group for   # nginx进程的用户组权限
  
--error-log-path=PATH            set error log pathname         # 设置错误日志路径名
  
--http-log-path=PATH             set http access log pathname   # 设置访问日志路径名
  
--pid-path=PATH                  set nginx.pid pathname         # 设置nginx进程的pid文件路径名
  
--lock-path=PATH               set nginx.lock pathname      # 设置nginx进程的锁文件路径名
  
--with-http_ssl_module         enable ngx_http_ssl_module   # 启用ssl功能
  
--with-http_gzip_static_module   enable ngx_http_gzip_static_module
  
                                                                # 启用gzip压缩功能
  
--with-http_stub_status_module   enable ngx_http_stub_status_module
  
                                                                # 启用状态信息输出功能
  
--with-debug                     enable debug logging         # 启用日志排错功能


页: [1]
查看完整版本: 编译安装Nginx-Tab