Skip to content
This repository has been archived by the owner on Dec 31, 2022. It is now read-only.

Commit

Permalink
Fixed nginx defaults. Resolves #14 and resolves #17
Browse files Browse the repository at this point in the history
  • Loading branch information
Igor Rzegocki committed Apr 18, 2016
1 parent 4a1edd9 commit 8320f3b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,8 @@ Currently only nginx is supported.
* **Default:** `default`
* The way the [nginx](https://supermarket.chef.io/cookbooks/nginx) cookbooks
handles `nginx` installation. Check out [the corresponding docs](https://github.com/miketheman/nginx/tree/2.7.x#recipes)
for more details.
for more details. Never use `node['nginx']['install_method']`, as it will
be always overwritten by this attribute.
* [`app['webserver']['client_body_timeout']`](http://nginx.org/en/docs/http/ngx_http_core_module.html#client_body_timeout)
* **Default:** `12`
* [`app['webserver']['client_header_timeout']`](http://nginx.org/en/docs/http/ngx_http_core_module.html#client_header_timeout)
Expand Down
4 changes: 4 additions & 0 deletions attributes/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@

default['build-essential']['compile_time'] = true
default['ruby-ng']['ruby_version'] = node['ruby'].try(:[], 'version') || '2.3'
default['nginx']['source']['modules'] = %w(
nginx::http_ssl_module nginx::http_realip_module nginx::http_gzip_static_module nginx::headers_more_module
nginx::http_stub_status_module
)

# appserver
## common
Expand Down

0 comments on commit 8320f3b

Please sign in to comment.