server { listen 80; server_name ; root /var/www/; location / { index index.html; default_type text/plain; set $memcached_key memfis://$uri; memcached_pass 127.0.0.1:11211; } }