-
Notifications
You must be signed in to change notification settings - Fork 2
Hash the key using SHA256 to ensure it's less than the max key length
dctrwatson/nginx-memcached-hash-pass
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Nginx Memcached Hash Pass
=========================
Hash the key using SHA256 to ensure that it does not grow beyond the
key length limit of memcached.
Configuration
-------------
Functionally equivalent to memcached_pass.
::
set $memcached_hash_key $request_uri
memcached_hash_pass 127.0.0.1:11211;
To serve gzipped content, set memcached_hash_gzip_flag to the decimal
bit mask that your memcached client uses to signal a compressed value.
::
memcached_hash_gzip_flag 2;
About
Hash the key using SHA256 to ensure it's less than the max key length
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published