Commit 2040ae3a by Max Rothman

Merge pull request #1963 from edx/max/prof-img-overhead

Allow for some overhead in profile image uploads
parents 21469355 8d6de92a
......@@ -123,7 +123,7 @@ error_page {{ k }} {{ v }};
# Need a separate location for the image uploads endpoint to limit upload sizes
location ~ ^/api/profile_images/[^/]*/[^/]*/upload$ {
try_files $uri @proxy_to_lms_app;
client_max_body_size {{ EDXAPP_PROFILE_IMAGE_MAX_BYTES }};
client_max_body_size {{ EDXAPP_PROFILE_IMAGE_MAX_BYTES + 1000 }};
}
location /notifier_api {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment