Add client_max_body_size to ssl vhost
This commit is contained in:
parent
5056ecb899
commit
9d1e2e8806
1 changed files with 3 additions and 0 deletions
|
@ -41,6 +41,9 @@ server {
|
||||||
<% if defined? @auth_basic_user_file -%>
|
<% if defined? @auth_basic_user_file -%>
|
||||||
auth_basic_user_file "<%= @auth_basic_user_file %>";
|
auth_basic_user_file "<%= @auth_basic_user_file %>";
|
||||||
<% end -%>
|
<% end -%>
|
||||||
|
<% if defined? @client_max_body_size -%>
|
||||||
|
client_max_body_size <%= @client_max_body_size %>;
|
||||||
|
<% end -%>
|
||||||
<% if @index_files.count > 0 -%>
|
<% if @index_files.count > 0 -%>
|
||||||
index <% Array(@index_files).each do |i| %> <%= i %><% end %>;
|
index <% Array(@index_files).each do |i| %> <%= i %><% end %>;
|
||||||
<% end -%>
|
<% end -%>
|
||||||
|
|
Loading…
Reference in a new issue