nginx - t //检测 nginx 配置文件语法是否正确

nginx -V //显示 nginx 的版本与安装时的附加配置项(如: --with-openssl=/usr/local/Cellar/openssl/)

ningx -s [ stop | quit | reopen | reload ] //发送启停信号

nginx -c [ conf file path ] // 设置配置文件路径

安装

cd nginx-1.10.3

./configure --prefix=/usr/local/nginx --with-openssl=/usr/local/Cellar/openssl/ --add-module=/usr/local/nginx/src/echo-nginx-module-0.60

results matching ""

    No results matching ""