查看Nginx版本号的几种方式

执行nginx命令

通过服务器安装nginx的路径,执行nginx -V或者nginx -v

通过curl方式

在服务器上访问本地的nginx服务

curl -i 127.0.0.1

原文地址:https://www.cnblogs.com/it774274680/p/15271092.html