commit | b4b7a42425a23da7b9a70306db88b14f69689910 | [log] [tgz] |
---|---|---|
author | Richard Felkl <rfelkl@mirantis.com> | Tue Jun 12 13:54:10 2018 +0000 |
committer | Gerrit Code Review <gerrit2@99e8dbefe3b7> | Tue Jun 12 13:54:10 2018 +0000 |
tree | 1e7198e6bb1dc3d51008e5c6c3680e0a4bd23b69 | |
parent | 7b755ab6e7ac366a9d416c9a62164f57fa45ce37 [diff] | |
parent | 78d56b0f1e0d806f83421b88b9dcc981cb43bdf8 [diff] |
Merge "Cosmetic changes for alerts"
diff --git a/nginx/files/proxy.conf b/nginx/files/proxy.conf index 8b4601a..82958c6 100644 --- a/nginx/files/proxy.conf +++ b/nginx/files/proxy.conf
@@ -40,7 +40,7 @@ {%- if location.size is defined %} client_max_body_size {{ location.size }}; - {%- if location.size > 200 %} + {%- if location.size.split("m")[0] | int > 200 %} client_body_buffer_size 200m; {%- else %} client_body_buffer_size 20m;