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

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

I'm trying to configure nginx to be working with memcached, as shown

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

This topic is locked and can not be replied to.