进入nginx文件下,例如 :/usr/local/nginx/sbin
[[email protected] /]# cd /usr/local/nginx/sbin
运行命令:
[[email protected] /]# ./nginx -c /usr/local/webserver/nginx/conf/nginx.conf
重新加载:
[[email protected] /]# ./nginx -s reload
原文地址:https://www.cnblogs.com/gyrgyr/p/8892098.html
时间: 2024-10-14 02:02:14