Forum: NGINX unknown directive "set" in .../nginx.conf

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Eugene Bragin (Guest)
on 2009-02-09 14:20
(Received via mailing list)
Hello,

I'm trying to configure nginx to be working with memcached, as shown
here:
http://wiki.codemongers.com/NginxHttpMemcachedModule

my server config looks like this:

--------------------------
...
        location / {
          set  $memcached_key  $uri;
          memcached_pass   localhost:11511;
          default_type     text/html;
          error_page       404 = /fallback;
        }
...

and it fails with:
unknown directive "set" in .../nginx.conf

Eugene.
This topic is locked and can not be replied to.