我想在不关闭客户端活动连接的情况下重新加载 nginx.conf 我试过了
systemctl nginx reload //this close all active connections || sudo pkill -HUP nginx //this close all active connections || sudo pkill -USR2 nginx //this one does not do anything
感谢您的帮助 这个想法是动态添加新的服务器配置,而不会导致其他服务器超时 如果您知道其他方法来做到这一点,欢迎!
你尝试过吗:
nginx -s reload
或
nginx reload