nginx启动命令:
nginx
nginx重启动命令:
nginx -s reload
nginx关闭的命令:
nginx -s stop
如果提示 -bash:
nginx: command not found
就执行:
whereis nginx
然后进入sbin目录 把里面的nginx文件放到/bin目录里面就可以执行上面的命令了.
nginx启动命令:
nginx
nginx重启动命令:
nginx -s reload
nginx关闭的命令:
nginx -s stop
如果提示 -bash:
nginx: command not found
就执行:
whereis nginx
然后进入sbin目录 把里面的nginx文件放到/bin目录里面就可以执行上面的命令了.
报错: ``` nginx: [emerg] dlopen() "/opt/nginx/modules/ngx_http_brotli_filter_module.so" failed (libbrotlienc.so.1: cannot open shared object file: No su...
报错如下: ``` nginx: [emerg] module "/opt/nginx/modules/ngx_http_brotli_filter_module.so" version 1028001 instead of 1026002 in /opt/nginx/conf/nginx.conf...
成为第一个评论的人吧!