安装
1、brew search nginx
2、brew install nginx
启动nginx ,sudo nginx ;访问localhost:8080 发现已出现nginx的欢迎页面了。
常用的指令有:
nginx -V 查看版本,以及配置文件地址
nginx -v 查看版本
nginx -c filename 指定配置文件
nginx -h 帮助
Starting, Stopping, and Reloading Configuration
To start nginx, run the executable file. Once nginx is started, it can be controlled by invoking the executable with the -s parameter. Use the following syntax:
部分功能简介:商品收藏夹功能热门商品最新商品分级价格功能自选风格打印结算页面内部短信箱商品评论增加上一商品,下一商品功能增强商家提示功能友情链接用户在线统计用户来访统计用户来访信息用户积分功能广告设置用户组分类邮件系统后台实现更新用户数据系统图片设置模板管理CSS风格管理申诉内容过滤功能用户注册过滤特征字符IP库管理及来访限制及管理压缩,恢复,备份数据库功能上传文件管理商品类别管理商品添加/修改/
nginx -s signal
Where signal may be one of the following:
-
stop— fast shutdown -
quit— graceful shutdown -
reload— reloading the configuration file -
reopen— reopening the log files
For getting the list of all running nginx processes, the ps utility may be used, for example, in the following way:
ps -ax | grep nginx
7813 ?? 0:00.00 nginx: master process ./nginx
7814 ?? 0:00.00 nginx: worker process
7827 ttys000 0:00.01 grep nginx
以上就介绍了nginx-备注,包括了方面的内容,希望对PHP教程有兴趣的朋友有所帮助。









