cookbooks/railsapp/templates/default/site.conf.erb in mana-0.0.2 vs cookbooks/railsapp/templates/default/site.conf.erb in mana-0.0.3
- old
+ new
@@ -12,10 +12,11 @@
location / {
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $http_host;
proxy_redirect off;
+ proxy_read_timeout <%= node[:railsapp][:request_timeout] %>s;
# If you don't find the filename in the static files
# Then request it from the unicorn server
if (!-f $request_filename) {
proxy_pass http://unicorn_<%= node[:application] %>;
@@ -48,9 +49,10 @@
location / {
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $http_host;
proxy_redirect off;
+ proxy_read_timeout <%= node[:railsapp][:request_timeout] %>s;
# If you don't find the filename in the static files
# Then request it from the unicorn server
if (!-f $request_filename) {
proxy_pass http://unicorn_<%= node[:application] %>;