I have an nginx configuration specific to a project I'm currently working on (Django, to be precise).
It looks like the "right" way to start nginx on Ubuntu is
sudo /etc/init.d/nginx start
However, I want to supply a custom configuration file. Normally I'd do this in the following way:
sudo nginx -c /my/project/config/nginx.conf
Looking at the
init.d/nginx file, it doesn't look like there the
start command passes in any arguments, so I can't do
sudo /etc/init.d/nginx start -c /my/project/config/nginx.conf
What's the best way to solve my problem?