如何查看nginx的版本及配置選項?nginx都配置了哪些的模塊?


需求描述:

  新接手別人的nginx,想要查看當前都配置了哪些模塊

操作過程:

1.通過nginx -V選項查看nginx的配置選項

[root@hadoop3 sbin]# ./nginx -V
nginx version: nginx/1.14.0
built by gcc 4.4.7 20120313 (Red Hat 4.4.7-11) (GCC) 
built with OpenSSL 1.0.1e-fips 11 Feb 2013
TLS SNI support enabled
configure arguments: --prefix=/opt/app/nginx --user=nginx --group=nginx --sbin-path=/opt/app/nginx/sbin/nginx --conf-path=/opt/app/nginx/conf/nginx.conf --pid-path=/var/run/nginx.pid --lock-path=/var/run/nginx.lock --error-log-path=/opt/app/nginx/log/error.log --http-log-path=/opt/app/nginx/log/access.log --with-http_gzip_static_module --with-http_stub_status_module --with-http_ssl_module --with-pcre --with-file-aio --with-http_realip_module --without-http_scgi_module --without-http_uwsgi_module

 

備注:通過以上的查詢結果,就可以知道nginx的配置選項,配置了哪些的模塊

 

文檔創建時間:2018年4月24日11:23:21


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM