~jonn/cdn

4318ef113220818572c81a8e8c298ca587e24db5 — Jonn 3 years ago 2b64f86
Problem: NGINX can't serve huge files

Solution:

 - Attempt to use `proxy_max_temp_file_size 0;`

Maybe we need to do `proxy_buffering off;` as well, but let's see if this
works.
1 files changed, 1 insertions(+), 0 deletions(-)

M mkBucket
M mkBucket => mkBucket +1 -0
@@ 101,6 101,7 @@ server {

  location / {
    proxy_pass http://127.0.0.1:${_port};
    proxy_max_temp_file_size 0;
  }
}
EOL