Description
Allow to use nginx module to cache HTTP location
This configuration snippet will cache all successful responses for 30 minutes.
http {
server {
listen 8080;
server_name localhost;
location /cb
{ set $couchbase_key $arg_key; set $couchbase_cmd $arg_cmd; set $couchbase_val $arg_val; couchbase_pass localhost:8091,127.0.0.1:8091,localhost bucket=default; } }
}