Re: How can I set a maximum limit for gzip module?

2017-04-30 Thread t.nishiyori
Hi tokers, I understand gzip-module that if buffers reach the limit, the module will wait some buffers are free. I think there is a new question the resource (such like cpu and memory) will be over, when upstream contents are large size and lots of traffic. I cannot set the limit of size of upstr

Serve index.html file if exists try_files + proxy_pass?

2017-04-30 Thread Lucas Rolff
Hi guys, I have a small scenario where I have a backend (s3 compatible storage), which by default generates a directory listing overview of the files stored. I want to be able to serve an "index.html" file if the file exists, else just proxy_pass as normally. https://gist.github.com/lucasRolff/