diff --git a/templates/default/appserver.nginx.conf.erb b/templates/default/appserver.nginx.conf.erb index 15d0a4c2..00b07b5b 100644 --- a/templates/default/appserver.nginx.conf.erb +++ b/templates/default/appserver.nginx.conf.erb @@ -10,6 +10,8 @@ server { root <%= File.join(@deploy_dir, 'current', 'public') %>; + server_tokens off; + client_max_body_size <%= @out[:client_max_body_size] || '1m' %>; client_body_timeout <%= @out[:client_body_timeout] || '12' %>; client_header_timeout <%= @out[:client_header_timeout] || '12' %>; @@ -103,6 +105,8 @@ server { root <%= File.join(@deploy_dir, 'current', 'public') %>; + server_tokens off; + client_max_body_size <%= @out[:client_max_body_size] || '1m' %>; client_body_timeout <%= @out[:client_body_timeout] || '12' %>; client_header_timeout <%= @out[:client_header_timeout] || '12' %>;