- From: Steve Hummingbird <
>
- To:
- Subject: [chef] How to configure opscode nginx properly
- Date: Wed, 16 Apr 2014 19:40:02 +0200
- Authentication-results: smtp4o.mail.yandex.net; dkim=pass
I have been running into some issues when configuring nginx using the opscode
cookbook.
I have created a wrapper cookbook, which replaces the default config by
putting my config into /etc/nginx/sites-available/default
However, the opscode cookbook always replaces that config with the default
sample config. So, on every chef run the nginx cookbook notices that the
default config is no longer there and replaces my config, then my wrapper
cookbook notices that the config is not correct and replaces that file with
my config again.
I was having the same issues when installing from source as well as using the
ubuntu package installation.
So, in the end I am getting the feeling that I might be missing something
fundamentally or a lot of other people must have been running into the same
issue. How do I configure nginx the right way using the opscode cookbook?
Thanks,
Steve
- [chef] How to configure opscode nginx properly, Steve Hummingbird, 04/16/2014
Archive powered by MHonArc 2.6.16.