We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ebe8535 commit 5a3761cCopy full SHA for 5a3761c
lib/rails/nginx/templates/nginx.conf.erb
@@ -61,13 +61,22 @@ server {
61
client_max_body_size 4G;
62
keepalive_timeout 75s;
63
64
+ # Increase timeout to 30 minutes for when debugging locally.
65
+ proxy_connect_timeout 1800;
66
+ proxy_send_timeout 1800;
67
+ proxy_read_timeout 1800;
68
+
69
# reverse proxy
70
location @<%= name %> {
71
proxy_pass http://<%= name %>;
72
proxy_http_version 1.1;
73
proxy_no_cache 1;
74
proxy_cache_bypass 1;
75
76
+ proxy_buffer_size 128k;
77
+ proxy_buffers 4 256k;
78
+ proxy_busy_buffers_size 256k;
79
80
<% if options[:ssl] %>
81
# proxy SSL
82
proxy_ssl_server_name on;
0 commit comments