logo头像

-------------

nginx利用service进行启动

nginx启动、停止、无间断服务重启[root@example ~]# service nginx start [root@example ~]# service nginx stop [root@example ~]# servic...

nginx查看配置文件nginx.conf路径

当你执行 nginx -t 得时候,nginx会去测试你得配置文件得语法,并告诉你配置文件是否写得正确,同时也告诉了你配置文件得路径: # nginx -t nginx: the configuration file /us...