[root@server ~]# nginx -tV
nginx version: nginx/1.22.0
built by gcc 4.8.5 20150623 (Red Hat 4.8.5-44) (GCC)
built with OpenSSL 1.0.2k-fips 26 Jan 2017
TLS SNI support enabled
configure arguments:
--user=nginx 用户nginx来跑worker进程
--group=nginx 组nginx
--prefix=/usr/local/nginx 安装目录
--sbin-path=/usr/local/nginx/sbin/nginx 可执行命令目录
--conf-path=/usr/local/nginx/conf/nginx.conf 配置文件目录
--error-log-path=/usr/local/nginx/logs/error.log 错误日志目录
--http-log-path=/usr/local/nginx/logs/access.log 访问日志目录
--pid-path=/usr/local/nginx/logs/nginx.pid 进程pid文件目录
--lock-path=/var/lock/subsys/nginx 锁文件目录
--with-http_stub_status_module 状态模块
--with-http_ssl_module 加密模块
--with-http_gzip_static_module 压缩模块
--with-pcre 重定向模块
nginx: the configuration file /usr/local/nginx/conf/nginx.conf syntax is ok
nginx: configuration file /usr/local/nginx/conf/nginx.conf test is successful
[root@server ~]# ps -ef |grep nginx
root 1135 1 0 14:03 ? 00:00:00 nginx: master process /usr/local/nginx/sbin/nginx
nginx 1136 1135 0 14:03 ? 00:00:00 nginx: worker process
nginx 1137 1135 0 14:03 ? 00:00:00 nginx: worker process
nginx 1138 1135 0 14:03 ? 00:00:00 nginx: worker process
nginx 1139 1135 0 14:03 ? 00:00:00 nginx: worker process
[root@server ~]#
本文暂时没有评论,来添加一个吧(●'◡'●)