templates/nginx.conf.erb in capistrano3-nginx-2.0.4 vs templates/nginx.conf.erb in capistrano3-nginx-2.0.5
- old
+ new
@@ -59,9 +59,12 @@
proxy_set_header X-FORWARDED_PROTO http;
proxy_set_header Host $http_host;
<% if fetch(:nginx_use_ssl) %>
proxy_set_header X-Forwarded-Proto https;
<% end %>
+ <% if fetch(:nginx_read_timeout) %>
+ proxy_read_timeout <%= fetch(:nginx_read_timeout) %>;
+ <% end %>
proxy_redirect off;
proxy_pass http://<%= fetch(:application) %>-app-server;
}
<% end %>
}