Press "Enter" to skip to content

restart和reload区别

# 重新加载配置文件
service nginx reload

reload不用重启服务,直接重新加载配置文件,客户端感觉不到服务异常,平滑切换。

# 重启
service nginx restart

restart等于stop + start

Leave a Reply

Your email address will not be published. Required fields are marked *