Debian上的nginx:设置启动conf文件?

时间:2014-01-14 08:05:35

标签: nginx debian

我在Debian上安装了nginx:

apt-get install nginx-full

我看到它会自动启动(并以root身份启动),这很烦人,但是可以容忍。

我的问题是然后设置启动conf文件。如何修改启动nginx守护程序以始终使用我的conf? (也希望是根前缀)

理想情况下,我想修改守护进程以执行以下操作:

nginx -c $MY_PATH/site/nginx/conf/nginx-www-phantomjscloud.conf -p $MY_PATH -s reload

0 个答案:

没有答案