Hone Watson
January 13, 2010 06:14PM
I am trying a SSI set up but it seems that nginx is not using
memcached for the partials.

If I place the url for the partials in the directory nginx will use memcached.

For the SSI includes it does not use memcached but redirects to php?

location /dssi/ {

set $memcached_key $host$request_uri;
memcached_pass 127.0.0.1:11244;
default_type text/html;

error_page 404 = /partial_index.php?q=$uri;
}

location ~ /partial_index\.php$ {

fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME /home/testing/public_html$fastcgi_script_name;
include /usr/local/nginx/conf/fastcgi_params;

}

_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

Memcached not used for SSI's

Hone Watson January 13, 2010 06:14PM

Re: Memcached not used for SSI's

Maxim Dounin January 13, 2010 08:06PM

Re: Memcached not used for SSI's

Hone Watson January 13, 2010 10:34PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 302
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready