Quantcast
Channel: Nginx Forum - How to...
Viewing all articles
Browse latest Browse all 4759

Re: How do I get nginx to use a different config file on boot?

$
0
0
So how do I get it to use that -c option when it starts when ubuntu boots up? i.e. where is the "meta-config" that tells nginx how to start?

If you look at my question you'll see the second option I was looking at is to restart nginx with that option using the crontab. That seems wrong though. I'm sure that nginx has a way to pass in the config at boot.

Viewing all articles
Browse latest Browse all 4759

Trending Articles