Skip to content

More parameters for nginx proxy buffers and timeouts#2

Open
kesor wants to merge 1 commit into
masterfrom
nginx_extra_proxy_params
Open

More parameters for nginx proxy buffers and timeouts#2
kesor wants to merge 1 commit into
masterfrom
nginx_extra_proxy_params

Conversation

@kesor

@kesor kesor commented Apr 21, 2013

Copy link
Copy Markdown
Contributor

No description provided.

Comment thread attributes/default.rb
default[:rails][:nginx][:ssl_certificate] = "#{node['fqdn']}.crt"
default[:rails][:nginx][:ssl_certificate_key] = "#{node['fqdn']}.key"

default[:rails][:nginx][:client_max_body_size] = "10m"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe use an pattern like above be more efficient and intuitive. And the customers can configure as it want.

{ "rails":
  { "nginx": 
    { "upstream_options":
      {
        "client_body_buffer_size": "128k",
        "proxy_connect_timeout": "90"
} } } }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants