nginx -s reload
时间: 2023-10-21 21:37:17 浏览: 70
nginx-reload:通过监视其PID文件来启动,停止或重新加载Nginx
This command sends a signal to the Nginx server process to reload its configuration file without stopping and restarting the server. This is useful when you have made changes to the configuration file and want to apply them without disrupting the server's operation. The "reload" signal instructs Nginx to gracefully shut down worker processes and spawn new ones with the updated configuration.
阅读全文