985 cd /usr/local/webserver/nginx/conf/extra/ 986 ll 987 cd conf/ 988 ll 989 cd extra/ 990 ll 991 vi proxy.conf 992 ../../sbin/nginx -t 993 ../../sbin/nginx -s reload 994 vi proxy.conf 995 ../../sbin/nginx -t 996 ../../sbin/nginx -s reload 997 vi proxy.conf 998 ../../sbin/nginx -t 999 ../../sbin/nginx -s reload
nginx 所在路径 /usr/local/webserver/nginx/conf/extra/nginx 查看配置文件 vi proxy.confnginx 校验配置文件内容是否正确 ../../sbin/nginx -tnginx 重新载入配置文件../../sbin/nginx -s reloadnginx 重启../../sbin/nginx -s reopennginx 停止../../sbin/nginx -s stop
转载于:https://www.cnblogs.com/yldIndex/p/8603910.html