From 9d1e2e88064de098f64e2eaa43dc5851cc55cb8f Mon Sep 17 00:00:00 2001 From: Tim Mower Date: Tue, 27 May 2014 11:38:32 +0100 Subject: [PATCH] Add client_max_body_size to ssl vhost --- templates/vhost/vhost_ssl_header.erb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/templates/vhost/vhost_ssl_header.erb b/templates/vhost/vhost_ssl_header.erb index 33fb36b..b097c3b 100644 --- a/templates/vhost/vhost_ssl_header.erb +++ b/templates/vhost/vhost_ssl_header.erb @@ -41,6 +41,9 @@ server { <% if defined? @auth_basic_user_file -%> auth_basic_user_file "<%= @auth_basic_user_file %>"; <% end -%> +<% if defined? @client_max_body_size -%> + client_max_body_size <%= @client_max_body_size %>; +<% end -%> <% if @index_files.count > 0 -%> index <% Array(@index_files).each do |i| %> <%= i %><% end %>; <% end -%>