Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update README to mention an important note #56

Merged
merged 1 commit into from
Dec 14, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions README.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -453,6 +453,8 @@ You can also use POST/PUT subrequests to transfer the raw Redis request via requ
}
```

> **Important** The nginx variable `$request_body` *only* contains content buffered into memory. If nginx writes the request body to a temporary file (default behavior) the `$request_body` will **not** include the entire content or may be empty. It's recommended to use `$echo_request_body` which reads the full request body (regardless of being in buffer or temporary file).

This yeilds exactly the same output as the previous (GET) sample.

One can also use Lua to pick up a concrete Redis backend based on some complicated hashing rules. For instance,
Expand Down