diff options
author | Baptiste Jonglez <git@bitsofnetworks.org> | 2022-11-11 21:45:03 +0100 |
---|---|---|
committer | Baptiste Jonglez <git@bitsofnetworks.org> | 2022-11-11 21:50:08 +0100 |
commit | 8dfc9097590822f5c5a8a4cb2def424e887b10cd (patch) | |
tree | a6cb2c9a060d05177a7298204c45c618e3e804fe /Makefile | |
parent | 66f2daa0259538c64508b37cec89d76a74a71a02 (diff) | |
download | garage-8dfc9097590822f5c5a8a4cb2def424e887b10cd.tar.gz garage-8dfc9097590822f5c5a8a4cb2def424e887b10cd.zip |
Improve Nginx reverse proxy example
By default, Nginx does proxy buffering and it may store big replies to a
temporary file up to 1 GB. It also means that Nginx will read data as
fast as possible from Garage, even if the client downloads slowly. Both
behaviours are often not wanted, so disable this temporary file in the example.
Ref: https://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_buffering
Also add an example of upstream with a "backup" server, which may be
useful to only use remote servers as fallback.
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions