Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我尝试使用 nginx 的命令,但我将其安装在 /home/user/nginx 文件夹中,而不是根目录下的默认系统文件夹中。但是我不能从那里命令 nginx。我怎么能那样做?任何的想法?
您可以通过发送HUP信号进行处理kill -HUP `pidof nginx`。这应该重新加载配置,并重新启动乘客。
HUP
kill -HUP `pidof nginx`